Posted: Wed Apr 05, 2006 4:13 am Post subject: ways to get messages from a queue
Partisan
Joined: 19 Jan 2006 Posts: 398
Hi,
In order to get a message from a queue I am using "q" utility. To be clear, if I want to get 20 messages with required message id from a queue of curdepth 500. Then, I have to write the command
The simple way to solve this is with a script, that runs the command for you once for each message id in your list.
All command shells that I know of, including windows, let you write shell scripts that will do that.
There are also other tools than the q utility - like CapitalWare's MQ Batch Toolkit - that may help. Not all of them are free. _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum