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



Support for MQSeries and Websphere Message Oriented Middleware communication systems for z/OS

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

Postby Kal El » Thu Jul 08, 2010 7:31 pm

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.
Kal El
 
Posts: 9
Joined: Mon Jun 21, 2010 1:05 pm
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby noggin » Tue Nov 02, 2010 10:00 pm

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.
noggin
 
Posts: 4
Joined: Tue Nov 02, 2010 9:53 pm
Has thanked: 0 time
Been thanked: 0 time


Return to WebSphere MQ

 


  • Related topics
    Replies
    Views
    Last post