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 » getting messages from the dead letter queue...

Post new topic  Reply to topic
 getting messages from the dead letter queue... « View previous topic :: View next topic » 
Author Message
mqvasu
PostPosted: Tue May 21, 2002 2:18 am    Post subject: getting messages from the dead letter queue... Reply with quote

Newbie

Joined: 16 May 2002
Posts: 8

Hi All,

Can any one suggest me hoe to get the message that has been routed to the dead letter queue of my queue manager for further processing.
I am using Unix machine.

Thanks,
Vasu.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue May 21, 2002 3:11 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well the dead letter queue is just another queue you can open and read it just like any other queue, The message just has an additional header DLH, this contains info about why it in the queue and some other fields.

There is a command runmqdlq also there is a support pac:
http://www-3.ibm.com/software/ts/mqseries/txppacs/ms71.html

I know this support-pac is for NT but it comes with source and I have compiled and got it running under HPUX.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mqvasu
PostPosted: Mon May 27, 2002 12:22 am    Post subject: getting only the message from Dead Letter Queue... Reply with quote

Newbie

Joined: 16 May 2002
Posts: 8

Hi mrlinux,

Thanks for your reply. I have made my local to exceed the currentdepth and tried to put the message in that queue, in this case the message has been routed to my dead letter queue.

As you suggested, through my get application I got the message and printed that out, I found along with the message other details like my queue manage name,queue name for which the message is intended to and the exe id.

I would like to know how do I get the message alone through my application from the dead letter queue by excluding the other details form the message.

Thanks in advance
Vasu.
Back to top
View user's profile Send private message
dgolding
PostPosted: Mon May 27, 2002 1:34 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Hi Vasu,

You can forward the message to another queue, using:

REASON(MQRC_Q_FULL) ....or whatever the reason was...
ACTION(FWD)
FWDQ(New queue name)


RUNMQDLQ can attempt to reput your message to the original destination queue, and will strip the DLQ header from the message. However, if you had set MAXDEPTH to CURDEPTH, it's not going to work

You need to fix the problem that caused the message to go to the DLQ, and THEN run RUNMQDLQ. Use the following stanza:

REASON(MQRC_Q_FULL)
ACTION(RETRY)

It's all in the MQ System Administrators Guide!

HTH
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » getting messages from the 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.