Runtime tools : Service components : Communication services : MQ Connector : Tasks : Configuring an MQ Connector : Configuring an MQ host
  
Configuring an MQ host
To simulate a partner, if you are not working with an existing host, complete the following steps on the host:
1 Create the queue manager by typing the following at the command prompt:
Crtmqm -q -d HOST.TO.SERVER -u SYSTEM.DEAD.LETTER.QUEUE QMH
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')
Go up to
Configuring an MQ Connector