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 » Incorrect value from CURDEPTH

Post new topic  Reply to topic
 Incorrect value from CURDEPTH « View previous topic :: View next topic » 
Author Message
jonasb
PostPosted: Mon Feb 06, 2012 7:19 am    Post subject: Incorrect value from CURDEPTH Reply with quote

Apprentice

Joined: 20 Dec 2006
Posts: 49
Location: Sweden

Hi,

On our Dead letter queue, curdepth reports depth=2, but if you read or browse the queue there is not message on the queue?

Can someone help me understand this? Also, if there is a solution to "sync" the queue it would be helpful.

We are running on AIX 6100-06, and MQ 7.1.0.3.

curdepth command:
echo "display ql(dead_letter_queue) curdepth" | runmqsc QMANAGERX


Last edited by jonasb on Mon Feb 06, 2012 7:45 am; edited 2 times in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 06, 2012 7:20 am    Post subject: Re: Incorrect value from CURDEPTH Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

contact admin wrote:
Can someone help me understand this?


The messages are uncommitted, i.e. the application which put them there did it inside a unit of work & didn't issue a commit.

This is 1 good reason why applications shouldn't use the queue manager's dead letter queue.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Feb 06, 2012 7:23 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Uncommitted messages count towards depth but are unavailable to browse or get. What is the UNCOM count, if any?

EDIT: And you're back-level on maintenance.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
jonasb
PostPosted: Mon Feb 06, 2012 7:37 am    Post subject: Reply with quote

Apprentice

Joined: 20 Dec 2006
Posts: 49
Location: Sweden

Thanks for the quick response!

The command..
Code:

echo "display qstatus(dead_letter_queue) UNCOM" | runmqsc QMANAGERX


..does indicated uncommitted messages:

Code:

AMQ8450: Display queue status details.
   QUEUE(dead_letter_queue)                TYPE(QUEUE)
   CURDEPTH(2)                             UNCOM(YES)



The messages has been there for days, what (good) options do I have for cleaning up?
_________________
contact admin
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 06, 2012 7:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

contact admin wrote:
The messages has been there for days, what (good) options do I have for cleaning up?


Your first action should be the steps given here. There is (presumably) a reason these messages were dead lettered and it might be a good idea to find out why before flushing them.

Also your best good option for clearing off is to get whatever put them to commit them & clear them off in the traditional manner. If they've been there for the length of time you indicate, that's sounding like it's not going to happen.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jonasb
PostPosted: Mon Feb 06, 2012 8:01 am    Post subject: Reply with quote

Apprentice

Joined: 20 Dec 2006
Posts: 49
Location: Sweden

Thanks for all the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Incorrect value from CURDEPTH
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.