Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set up remote queues

Status
Not open for further replies.

kennyct

MIS
Nov 15, 2002
5
US
Hi,

I would like to know how to set up remote queues for IBM MQ series on Windows NT.

Any help would be very much appreciated.

Thanks
 
First catch yourself the MQseries MQSC Command Reference Manual.

Next sit down with a red hot keyboard.

Now......

Define a transmit queue to destination QMGR if one doesn't already exist:

Define QL('TRANSMIT.TO.REMOTE') +
PUT(ENABLED) +
USAGE(XMITQ) +
REPLACE

Now Define Your Remote Queue:

Define QREMOTE(DAVID) +
PUT(ENABLED) +
RNAME(*---Insert Local Queue name of queue on Dest Qmgr) +
RQMNAME(*---Insert Remote QMANAGER name) +
XMITQ('TRANSMIT.TO.REMOTE') +
REPLACE

If Channel pairs don't exist then define them:

Define CHL(SENDATOB) CHLTYPE(SDR) +
CONNAME('*---Insert Destination IP address here') +
TRPTYPE(TCP) +
XMITQ('TRANSMIT.TO.REMOTE') +
MAXMSGL(4194304) +
BATCHSZ(7) +
REPLACE

*
** Now a Receiver
Define CHL(SENDBTOA) CHLTYPE(RCVR) +
TRPTYPE(TCP) +
MAXMSGL(4) +
BATCHSZ(7) +
REPLACE

Make sure the channels are also defined at the other end.

Start channels
Drop message on queue...and Bob's your uncle.

I would recommend that you trigger the XMITQ so that it starts the channel for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top