Defining channels, listeners, and transmission queues
On the source queue manager ( source.queue.manager), issue the following MQSC commands to define the channels, listener, and the transmission queue:
- Define the sender channel at the source queue manager:
DEFINE CHANNEL ('source.to.target') + CHLTYPE(SDR) + CONNAME (RHX5498) + XMITQ ('target.queue.manager') + TRPTYPE(TCP)
- Define the receiver channel at the source queue manager:
DEFINE CHANNEL ('target.to.source') + CHLTYPE(RCVR) + TRPTYPE(TCP)
- Define the listener on the source queue manager:
DEFINE LISTENER ('source.queue.manager') + TRPTYPE (TCP)
- Define the transmission queue on the source queue manager:
DEFINE QLOCAL ('target.queue.manager') + USAGE (XMITQ)
Issue the following commands on the target queue manager ( target.queue.manager), to create the channels, listener, and the transmission queue:
- Define the sender channel on the target queue manager:
DEFINE CHANNEL ('target.to.source') + CHLTYPE(SDR) + CONNAME (RHX7721) + XMITQ ('source.queue.manager') + TRPTYPE(TCP)
- Define the receiver channel on the target queue manager:
DEFINE CHANNEL ('source.to.target') + CHLTYPE(RCVR) + TRPTYPE(TCP)
- Define the listener on the target queue manager:
DEFINE LISTENER ('target.queue.manager') + TRPTYPE (TCP)
- Define the transmission queue on the target queue manager:
DEFINE QLOCAL ('source.queue.manager') + USAGE (XMITQ)