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!

MQ commands

Status
Not open for further replies.

JEMIAZ

Technical User
Oct 16, 2003
76
GB
Hi
I am using a runmqsc command on a BAT adapter input card to list the current depth of a number of queues (max 5). I'm finding that about 5% of the time under event server the command fails to complete successfully and the adapter returns -6. Traces are giving no clues but it looks as if the adapter is returning before the runmqsc command has completed.

This is the command I've used on the input card
-poll 5:5 -cli! cmd /c 'runmqsc -e ROUTER.V15<listmqqueuedepths.mqs'

and I've tried it with the runmqsc in a .cmd file and combinations of adapter options to no avail so far.

Any ideas of a workround within Mercator?

Mercator6.7 on Win2K, MQ 5.2 and 5.3

Thanks
Tim
 
use the -POLL count:interval to wait until batch process has finished.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top