Starting the sender channel

Start the sender channel on the source queue manager, the receiver channel on the target queue manager is also started. Messages can be sent from the source queue manager to the target queue manager.


Start the MQSC interface to administer objects that are connected to the queue manager. Start the sender channel to connect to the target queue manager, enabling communication. The receiver channel starts automatically when the source channel is started.


Procedure

  1. On the command-line, type:
    runmqsc QM1
    
    After a confirmation message, the tool is ready to accept commands.
  2. Start the sender channel on the source queue manager. In the MQSC interface, type:
    START CHANNEL(TO.QM2)
    
    The sender channel starts, the receiver channel on the target queue manager is also started.
  3. Check that the channel is running. In the MQSC interface, type:
    DISPLAY CHSTATUS(TO.QM2)
    
    If the channel is running, we will see that it reports STATUS(RUNNING). If it reports any other value in STATUS then check the error log.


What to do next

To verify that the source queue manager can send messages to the target queue manager, follow the instructions in Verify the solution. Parent topic: Create the distributed queue manager topology Previous topic: Create the receiver channel