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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I keep the requestor channel up?

Status
Not open for further replies.

riteshshah

Programmer
Feb 8, 2005
12
US
Hello,

I have set up a requestor / server channel setup between our site (requestor) and a carrier/vendor (server). However, I seem to have to keep restarting the requestor channel as it keeps timing out. Any thoughts on what needs to change?

Thanks!

Ritesh
 
The channel is better off to have a timeout limit, 2 minutes in most cases. "DISCINT"

You are likely having to reset you TQ because you don't have it set to trigger. It may be set to notrigger. Look up MQ system command reference on google pic the first hit IBM look for the word command on the webpage.

WebSphere MQ Script (MQSC) Command Reference SC34-6055-03

here's the one you need.

Runmqsc <infile.txt >outfile.txt

inflie.txt follows (change for your purposes.)

DEF QL(TQ.fromqmgr.toqmgr.01) +
DESCR('Transmission Queue to IBM Host BMQA Queue Manager') +
REPLACE +
USAGE(XMITQ) +
TRIGGER +
TRIGTYPE(FIRST) +
INITQ(SYSTEM.CHANNEL.INITQ) +
PROCESS(P.fromqmgr.toqmgr.T1)

DEF PROCESS(P.fromqmgr.toqmgr.T1) +
DESCR('Process to start the channel to the Host') +
REPLACE +
USERDATA('fromqmgr.toqmgr.T1')

DEF CHL(fromqmgr.toqmgr.T1) +
CHLTYPE(SDR) +
BATCHSZ(1) +
REPLACE +
TRPTYPE(TCP) +
SEQWRAP(999999999) +
CONNAME('ip or dns(port)') +
XMITQ(TQ.fromqmgr.toqmgr.01) +
DISCINT(1800) +
TPNAME(MQSERIES)



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top