|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Getting all the messages in queue |
« View previous topic :: View next topic » |
Author |
Message
|
bower5932 |
Posted: Fri Dec 07, 2007 9:02 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
timmq wrote: |
there are 80 messages in queue. queue depth is showing as 80 and also able to browse all the 80 messages. But when I ran the Cobol now, it processed only 13 records |
Is this 80 messages from a 200 message run? If so, you have at least one problem with your putting application. Are you doing puts in a unit of work and not commiting?
As far as the 13 records are concerned, is it possible that your program is processing all of the messages and throwing 67 away without telling you? How do you know that a message has been processed? |
|
Back to top |
|
 |
timmq |
Posted: Fri Dec 07, 2007 9:28 am Post subject: |
|
|
Novice
Joined: 12 Sep 2007 Posts: 12
|
please ignore the 200 message count..we did some testing in between.
those 80 messages are lastest message count. After processing 13 messages, I can see 67 messages as queue depth and able to browse all the messages. I believe that count is the actual number of messages.
My primary concern is what prevents the Cobol from processing the rest of the messages or what makes MQRC_NO_MSG_AVAILABLE true even if there are messages in queue. Is there anything set by client while putting the messages? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 07, 2007 10:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Right, so. Either the sending application is not putting all the messages at the right time, or the receiving application is doing something wrong.
It's possible that your RFHUTIL testing set a number of properties on the message very differently than the tool did. So you should maybe put one message from the Tool and then one message from RFHUtil and then compare them, using perhaps amqsbcg. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|