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 » dead letter queue

Post new topic  Reply to topic
 dead letter queue « View previous topic :: View next topic » 
Author Message
Manikandan
PostPosted: Mon Oct 11, 2004 10:16 pm    Post subject: dead letter queue Reply with quote

Voyager

Joined: 07 Jul 2004
Posts: 78

How to read the dead letter queue?
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Oct 11, 2004 10:21 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

You can use standard DLH program that comes with WMQ or write your own. Messages in DLQ will have one additional header called Dead Letter HEader. You can write a simple program to read these messages and do whatever you plan to do with them. There is a chapter in System Administration Guide on DLH.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
leo>
PostPosted: Tue Oct 12, 2004 7:21 am    Post subject: Reply with quote

Apprentice

Joined: 06 Oct 2004
Posts: 42

You can write a simple rule file test.rul file containing a script like:

Code:
inputq('SYSTEM.DEAD.LETTER.QUEUE') inputqm('TESTQM') WAIT(NO)

DESTQ('APPL1.DEST.Q') ACTION(FWD) FWDQ('APPL1.SRC.Q') FWDQM(TESTQM) HEADER(NO)


and then run the command runmqdlq like:

Code:
runmqdlq < test.rul



This will move the messages intended for 'APPL1.DEST.Q' from DLQ to the Q named 'APPL1.SRC.Q'
_________________
IBM Certified System Administrator - Websphere MQ V5.3
Back to top
View user's profile Send private message
shusneimtahra
PostPosted: Wed Mar 28, 2007 7:15 am    Post subject: Reply with quote

Novice

Joined: 28 Mar 2007
Posts: 15

Hi,

Can anyone tell me where to place this rule file?

Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 28, 2007 7:21 am    Post subject: Reply with quote

Grand High Poobah

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

shusneimtahra wrote:
Can anyone tell me where to place this rule file?


Anywhere runmqdlq can see it......

Seriously, depends how you're scheduling runmqdlq to run. The rules file is just an input file, piped in as you normally would.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Thu Mar 29, 2007 1:35 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

You could also use MQMON (SupportPac MO71), which is able, to translate the DLQ-Header.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Thu Mar 29, 2007 5:46 am    Post subject: Reply with quote

Guest




You can also browse the dead-letter queue with amqsbcg or the MQ Explorer.
Back to top
HubertKleinmanns
PostPosted: Thu Mar 29, 2007 5:54 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

bruce2359 wrote:
You can also browse the dead-letter queue with amqsbcg or the MQ Explorer.


But with amqsbcg it is hard to read!

And for MQ Explorer you need a local MQ server installation, MQMON only requires the MQ client.

Additionally MQMON is also able, to read the DLQ on z/OS (if there is a Client Attachement Feature installed).
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Thu Mar 29, 2007 6:41 am    Post subject: Reply with quote

Guest




Quote:
And for MQ Explorer you need a local MQ server installation


Nope. MQ Explorer can execute from a non-server platform.

Your original post asked how to read the dead-letter queue. What do you want to accomplish by reading it? What exactly are you looking for? This may help us posters guide you in a better direction.
Back to top
HubertKleinmanns
PostPosted: Thu Mar 29, 2007 7:32 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

bruce2359 wrote:
Quote:
And for MQ Explorer you need a local MQ server installation


Nope. MQ Explorer can execute from a non-server platform.

Your original post asked how to read the dead-letter queue. What do you want to accomplish by reading it? What exactly are you looking for? This may help us posters guide you in a better direction.


MQ Explorer for MQ version 5 must have a MQ server installation.

MQ Explorer for MQ version 6 does not need a MQ server installation, but you only get it with a server installation. I was told, that it should be possible, to remove the server afterwards - but this is not supported .

Hopefulls it runs.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
zpat
PostPosted: Thu Mar 29, 2007 8:14 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Downlod the free trial version of WMQ v6 (server). Install it, selecting only the client and MQexplorer.

Nothing to delete and also the MQexplorer does not expire after 90 days (so I believe anyway).

Same applies to the full version - you do not have to install the queue manager (or server) to get MQExplorer to work. Just choose the custom install and select the bits you want.

V6 explorer can adminster V5 queue managers (but not z/OS)


Last edited by zpat on Thu Mar 29, 2007 9:37 am; edited 1 time in total
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 29, 2007 8:43 am    Post subject: Reply with quote

Guest




Quote:
MQ Explorer for MQ version 5 must have a MQ server installation.


Mea culpa for assuming you were asking about MQ V6.
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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