Page 1 of 1

To read count of messages at run time from MQ series.

PostPosted: Thu Jul 08, 2010 7:31 pm
by Kal El
I have a batch program which inserts messages in MQ.I want to read the no. of messages from a queue after putting it in the queue. Please let me know how to do this.

Re: To read count of messages at run time from MQ series.

PostPosted: Tue Nov 02, 2010 10:00 pm
by noggin
I assume you mean the number of messages IN the the queue ie. the queue depth?
You can get this by calling MQINQ with the appropriate parameters.