ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Current Depth = 1 with no Msg availavle

Post new topic  Reply to topic
 Current Depth = 1 with no Msg availavle « View previous topic :: View next topic » 
Author Message
huebi
PostPosted: Tue Oct 22, 2002 4:58 am    Post subject: Current Depth = 1 with no Msg availavle Reply with quote

Novice

Joined: 01 Jul 2001
Posts: 16

Sometimes i get a current depth = 1, input count = 1 and output count = 1. Msg Browse gives 2033 = no Message available and there is definitely no Application with open input/open output.

How can i clean up this situation?
Back to top
View user's profile Send private message
Ophir Yoktan
PostPosted: Tue Oct 22, 2002 7:35 am    Post subject: Reply with quote

Novice

Joined: 15 Nov 2001
Posts: 20
Location: Israel

There are probably uncommited messages on the queue.
I don't know of any way to verify this in older versions, but MQS 5.3 has a command "dis qstatus(QUEUE)" which will help.
Back to top
View user's profile Send private message Visit poster's website
bduncan
PostPosted: Tue Oct 22, 2002 11:25 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Either the message is uncommited, or is part of a MQSeries group or sequence which is not complete. However, if it is the latter case, you can always recode your application to get groups or sequences before they are complete. But if the message is uncommitted, there is nothing you can do programmatically. However, if this is the case, when the application put the message, the system was configured to either commit or rollback the unit of work in the case that it is not completed successfully. Since the message is still uncommitted, this would lead me to believe the putting application is still connected to the queue somehow. But since you are saying this is NOT the case, then my only thought would be to recycle the queue manager.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
vmcgloin
PostPosted: Thu Oct 31, 2002 7:12 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

In this case it is reading the queue that causes the message to actually expire. If you have report options for expiration selected it would be at this stage that a report was produced.

What you are seeing is how it should work.

Cheers,
Vicky
Back to top
View user's profile Send private message
bduncan
PostPosted: Thu Oct 31, 2002 12:00 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Yes. The MQSeries documentation points out that expired messages aren't removed from the queue, until an MQGET is performed which would otherwise retrieve that particular message. That get returns a 2033, and the message is removed. "dis ql(*)" tells you whats in each queue without actually performing an MQGET, so it is able to "see" expired messages without causing them to go away. It's kinda like one of those "if a tree falls in a forest and nobody is around" type questions
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Current Depth = 1 with no Msg availavle
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.