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
-
On the command-line, type:
runmqsc QM1
After a confirmation message, the tool is ready to accept commands. -
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. -
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.