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 » Uncommitted Messages on Dead Letter Queue

Post new topic  Reply to topic
 Uncommitted Messages on Dead Letter Queue « View previous topic :: View next topic » 
Author Message
sapna
PostPosted: Tue Oct 14, 2008 2:08 am    Post subject: Uncommitted Messages on Dead Letter Queue Reply with quote

Novice

Joined: 14 Oct 2008
Posts: 10

Hi,

Can there be Uncommitted messages on dead letter queue. Coz I can see the queue depth of dead letter queue as 2 but when I browse nothing is there.


Thanks in Advance,

Sapna
Back to top
View user's profile Send private message
atheek
PostPosted: Tue Oct 14, 2008 3:29 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

what does dis qs(<Name of Dead Letter Queue>) UNCOM show?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Oct 14, 2008 3:32 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

yes, it is possible. what does the qstatus shows about uncomitted messages? are the two messages still there after your browse? if not, then they exired on the DLQ
_________________
Regards, Butcher
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 14, 2008 4:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

As Mr Butcher so nicely said i would suspect message expiry being in play before I would suspect uncommitted messages.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sapna
PostPosted: Thu Oct 16, 2008 2:03 am    Post subject: Reply with quote

Novice

Joined: 14 Oct 2008
Posts: 10

Hi,

UNCOM shows Yes. And these are the messages that have been into the dead letter queue on the receiving end because the destination queue was full.

And after this even the destination local queue shows uncommitted messages. Even after I tried resolving the channel on the sending end the local queue on the receiving end shows uncommitted messges.


Thanks and Regards,

Sapna
Back to top
View user's profile Send private message
David.Partridge
PostPosted: Fri Oct 17, 2008 12:00 am    Post subject: Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

Hmmm Are you sure there isn't an application that's putting messages that hasn't yet committed them?
_________________
Cheers,
David C. Partridge
Back to top
View user's profile Send private message
David.Partridge
PostPosted: Fri Oct 17, 2008 12:10 am    Post subject: Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

Ooops talking about messages put by a channel - yes, both target queue and DLQ can have uncommitted messages. A channel won't commit persistent messages onto target queue (or DLQ) until BATCHSZ number of messages completes or BATCHINT expires.
_________________
Cheers,
David C. Partridge
Back to top
View user's profile Send private message
sapna
PostPosted: Fri Oct 17, 2008 2:32 am    Post subject: Reply with quote

Novice

Joined: 14 Oct 2008
Posts: 10

"A channel won't commit persistent messages onto target queue (or DLQ) until BATCHSZ number of messages completes or BATCHINT expires."

Yuppie!!! Thanks for the answer. I was stuck because I was not even able to identify the problem. But how do I solve this problem

Sapna
Back to top
View user's profile Send private message
gs
PostPosted: Fri Oct 17, 2008 3:57 am    Post subject: Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

"dspmqtrn" will give you information about any transactions in-doubt and "rsvmqtrn" lets you handle them.

However, be careful since this takes transaction security for the messages out of play.
Back to top
View user's profile Send private message
David.Partridge
PostPosted: Fri Oct 17, 2008 4:00 am    Post subject: Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

The messages *should* be committed when the tranmission queue at the sender end empties or after the current batch is completed. BATCHINT doesn't normally apply as the default is zero which means that it doesn't time out.
_________________
Cheers,
David C. Partridge
Back to top
View user's profile Send private message
sapna
PostPosted: Tue Oct 21, 2008 5:05 am    Post subject: Reply with quote

Novice

Joined: 14 Oct 2008
Posts: 10

But how do I commit the messages on "Dead Letter Queue". These messages are not put by the application but the queue manager.

Regards,
Sapna
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 21, 2008 8:32 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

sapna wrote:
But how do I commit the messages on "Dead Letter Queue". These messages are not put by the application but the queue manager.

Regards,
Sapna

They are still put by an application. The application however in this case is most probably the channel agent. Stop the sending channel and uncommitted messages should go away. The trick here is that it is most probably not the same messages that you see that are uncommitted. If the channel is running you are looking at a very fast moving target.
Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Uncommitted Messages on Dead Letter Queue
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.