Home
On QMG2
Transmission queue definition
DEFINE QLOCAL(QMG1) DESCR('Transmission queue to QMG1') REPLACE + PUT(ENABLED) USAGE(XMITQ) GET(ENABLED) DEFINE QLOCAL(SYSTEM.QSG.TRANSMIT.QUEUE) QSGDISP(SHARED) + DESCR('IGQ Transmission queue') REPLACE PUT(ENABLED) USAGE(XMITQ) + GET(ENABLED) INDXTYPE(CORRELID) CFSTRUCT('APPLICATION1') + DEFSOPT(SHARED) DEFPSIST(NO)
This is the place where you should replace APPLICATION1 with your defined CF structure name. Also note that this queue, being a shared queue, need only be defined on one of the queue managers in the queue sharing group.
Sender channel definitions (for TCP/IP)
DEFINE CHANNEL(QMG2.TO.QMG1) CHLTYPE(SDR) TRPTYPE(TCP) REPLACE + DESCR('Sender channel to QMG1') XMITQ(QMG1) CONNAME('WINTQMG1(1414)')
This is the place where you should replace WINTQMG1(1414) with your queue manager connection name and port.
Receiver channel definition (for TCP/IP)
DEFINE CHANNEL(QMG1.TO.QMG2) CHLTYPE(RCVR) TRPTYPE(TCP) + REPLACE DESCR('Receiver channel from QMG1')
Queue Manager definition