Configuration 1 definitions
The definitions required for Configuration 1 are as follows (note that the definitions do not take into account triggering, and that only channel definitions for communication using TCP/IP are provided).
On QMG1
Remote queue definition:
DEFINE QREMOTE(PAYROLL.QUERY) DESCR('Remote queue for QMG3') REPLACE + PUT(ENABLED) RNAME(PAYROLL) RQMNAME(QMG3) XMITQ(QMG2)Transmission queue definition:
DEFINE QLOCAL(QMG2) DESCR('Transmission queue to QMG2') REPLACE + PUT(ENABLED) USAGE(XMITQ) GET(ENABLED)Sender channel definition (for TCP/IP):
DEFINE CHANNEL(QMG1.TO.QMG2) CHLTYPE(SDR) TRPTYPE(TCP) REPLACE + DESCR('Sender channel to QMG2') XMITQ(QMG2) CONNAME('MVSQMG2(1415)')Here you replace MVSQMG2(1415) with your queue manager connection name and port.
Receiver channel definition (for TCP/IP):
DEFINE CHANNEL(QMG2.TO.QMG1) CHLTYPE(RCVR) TRPTYPE(TCP) + REPLACE DESCR('Receiver channel from QMG2')Reply-to queue definition:
DEFINE QLOCAL(PAYROLL.REPLY) REPLACE PUT(ENABLED) GET(ENABLED) + DESCR('Reply queue for replies to payroll queries sent to QMG3')
On QMG2
Transmission queue definition:
DEFINE QLOCAL(QMG1) DESCR('Transmission queue to QMG1') REPLACE + PUT(ENABLED) USAGE(XMITQ) GET(ENABLED) DEFINE QLOCAL(QMG3) DESCR('Transmission queue to QMG3') REPLACE + PUT(ENABLED) USAGE(XMITQ) GET(ENABLED)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)')Here you replace WINTQMG1(1414) with your queue manager connection name and port.
DEFINE CHANNEL(QMG2.TO.QMG3) CHLTYPE(SDR) TRPTYPE(TCP) REPLACE + DESCR('Sender channel to QMG3') XMITQ(QMG3) CONNAME('MVSQMG3(1416)')Here you replace MVSQMG3(1416) 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') DEFINE CHANNEL(QMG3.TO.QMG2) CHLTYPE(RCVR) TRPTYPE(TCP) + REPLACE DESCR('Receiver channel from QMG3')
On QMG3
Local queue definition:
DEFINE QLOCAL(PAYROLL) DESCR('Payroll query request queue') REPLACE + PUT(ENABLED) USAGE(NORMAL) GET(ENABLED) SHARE DEFINE QLOCAL(QMG2) DESCR('Transmission queue to QMG2') REPLACE + PUT(ENABLED) USAGE(XMITQ) GET(ENABLED)Sender channel definitions (for TCP/IP):
DEFINE CHANNEL(QMG3.TO.QMG2) CHLTYPE(SDR) TRPTYPE(TCP) REPLACE + DESCR('Sender channel to QMG2) XMITQ(QMG2) CONNAME('MVSQMG2(1415)')Here you replace MVSQMG2(1415) with your queue manager connection name and port.
Receiver channel definition (for TCP/IP):
DEFINE CHANNEL(QMG2.TO.QMG3) CHLTYPE(RCVR) TRPTYPE(TCP) + REPLACE DESCR('Receiver channel from QMG2)Parent topic: Configuration 1