2 Start the queue manager by typing the following at the command prompt:
strmqm QMH
3 Create all required MQ objects for QMH:
Runmqsc<host.tst>host.out
The file host.tst must contain the following information:
To receive messages from the server:
DEFINE QLOCAL('QH1') REPLACE + DESCR('Messages from the server') DEFINE CHANNEL(SERVER.TO.HOST) + CHLTYPE(rcvr) REPLACE + TRPTYPE(tcp) + DESCR('Receiver channel from server to host')
To send messages to the server:
DEFINE QREMOTE('QH2') REPLACE + RNAME('QS2') + RQMNAME(QMS) + XMITQ(HOST.TO.SERVER) + DESCR('Messages for the server') DEFINE QLOCAL(HOST.TO.SERVER) REPLACE + USAGE(xmitq) + DESCR('Xmit queue to server') DEFINE CHANNEL(HOST.TO.SERVER) + CHLTYPE(svr) REPLACE + TRPTYPE(tcp) + XMITQ(HOST.TO.SERVER) + DESCR('Sender channel from host to server')