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 » Seeing DLQ header using Q Program ??

Post new topic  Reply to topic
 Seeing DLQ header using Q Program ?? « View previous topic :: View next topic » 
Author Message
Rahul999
PostPosted: Sat Nov 01, 2008 11:12 pm    Post subject: Seeing DLQ header using Q Program ?? Reply with quote

Centurion

Joined: 14 Mar 2007
Posts: 134

Hi,
I am using the "Q program" to browse the messages in DEAD.LETTER.QUEUE, but it didn't return DLQ header.
Even, amqsbcg and amqsget doesn't give the DLQ header.

It is very important to see why the message went into dead letter queue and this can only be checked using DLQ header.

Is there any way I can see DLQ header using any of the above program.

Please help !
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Sun Nov 02, 2008 1:54 am    Post subject: Reply with quote

Grand High Poobah

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

There will only be a DLH on a message if the queue manager itself has moved the message as undeliverable. If you're just using using DEAD.LETTER.QUEUE for failured messages they'll be no header.

IIRC the q program, like amqsbcg & amqsput, just shows the MQMD and message. The DLH, like the other headers, is stored in the message. Check the MQMD & see if it indicates the a DLH is included in the message. If it does, either counter the header using the layout in doc. You might try RFHUtil - I seem to remember that displays DLH. Could be wrong there too.

If there's no DLH shown in the MQMD and it's a message in the queue manager's DLQ raise a PMR!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
atheek
PostPosted: Sun Nov 02, 2008 2:48 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

RFHUtil can display the dead letter header.
Back to top
View user's profile Send private message
Rahul999
PostPosted: Sun Nov 02, 2008 3:10 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2007
Posts: 134

Hi Vitor,

The message that went into DEAD.LETTER.QUEUE was the one which couldn't be put into original queue by the queue manager.
The MQMD indicate DLH in it, but I cudn't find the reason code from it.But, I know the reason code is 2030, as I checked it using RFHUtil but I want to know how to check it using Q Program or amqsget or amqsbcg(especially in UNIX enviroment).

here is the content of the message.

CCSID :437
Format :'MQDEAD '
Priority :0
Persistence :0 (Not Persistent)
Message Id :A M Q q u e u e . m a n a g e . " . I . . .
414D512071756575652E6D616E61676506220D4920000501
'AMQ queue.manage.".I ...'
Correl. Id :. . . . . . . . . . . . . . . . . . . . . . . .
000000000000000000000000000000000000000000000000
'........................'
Backout Cnt. :0
ReplyToQ :' '
ReplyToQMgr :'queue.manager.1 '
UserId :'rahul '
AccountingTkn:. . . . . . . . . . P . { s 4 . . ; + . . . . . . . . . . . . .
16010515000000DBEB0C50B47B733407E53B2B99F90D0000000000000000000B
ApplIndentity:' '
PutApplType :11 (Windows NT)
PutApplName :'ies\ih03_RFHUtil\rfhutil.exe'
Put Date :'20081102'
Put Time :'04260971'
ApplOriginDat:' '
DLH  î QUEUE2 queue.manager.2 " µ ebSphere MQ\bin\AMQRMPPA.EXE2008110204271496<?xml version="1.0" encoding="UTF-8"?>
<MessageFlow><ConfigurablePropertyTable><Documentation><longDesc/></Documentation><ConfigurableProperty defaultValue="DBNAPP" nodeName="ComIbmCompute" nodePluginId="com.ibm.etools.mft.ibmnodes" type="String" uri="MBKSWFTIN#Compute1.dataSource"><Documentation><longDesc/></Documentation><TargetProperty name="dataSource" uuid="MBKSWFTIN#FCMComposite_1_12"/></ConfigurableProperty><ConfigurableProperty nodeName="ComIbmMQOutput" nodePluginId="com.ibm.etools.mft.ibmnodes" type="String" uri="Error#Q.MBK.L.PERR.Q.replyToQMgr"><Documentation><longDesc/></Documentation><TargetProperty name="replyToQMgr" uuid="MBKSWFTIN#FCMComposite_1_10.Error#FCMComposite_1_3"/></ConfigurableProperty><ConfigurableProperty nodeName="ComIbmMQOutput" nodePluginId="com.ibm.etools.mft.ibmnodes" type="String" uri="MBKSWFTIN#MQOutput.queueManagerName"><Documentation><longDesc/></Documentation><TargetProperty name="queueManagerName" uuid="MBKSWFTIN#FCMComposite_1_6"/></ConfigurableProperty><ConfigurableProperty nodeName="ComIbmMQOutput" nodePluginId="com.ibm.etools.mft.ibmnodes" type="String" uri="MBKSWFTIN#ERR MQOutput.queueName"><Documentation><longDesc/></Documentation><TargetProperty name="queueName" uuid="MBKSWFTIN#FCMComposite_1_13"/></ConfigurableProperty><ConfigurableProperty nodeName="ComIbmMQInput" nodePluginId="com.ibm.etools.mft.ibmnodes" type="String" uri="MBKSWFTIN#Q.MBK.C.SRCT.Q.topicProperty"><Documentation><longDesc/></Documentation><TargetProperty name="topicProperty" uuid="MBKSWFTIN#FCMComposite_1_19"/></ConfigurableProperty><ConfigurableProperty nodeName="ComIbmMQOutput" nodePluginId="com.ibm.etools.mft.ibmnodes" type="String" uri="Error#Q.MBK.L.PERR.Q.queueManagerName"><Documentation><longDesc/></Documentation><TargetProperty name="queueManagerName"
Back to top
View user's profile Send private message Send e-mail Visit poster's website
atheek
PostPosted: Sun Nov 02, 2008 4:18 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Google shows this link where Paul G Clarke himself advised to try the following for formatting DLH

q -iSYSTEM.DEAD.LETTER.QUEUE -ddf3

http://osdir.com/ml/network.mq.devel/2006-07/msg00049.html
Back to top
View user's profile Send private message
Rahul999
PostPosted: Sun Nov 02, 2008 8:31 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2007
Posts: 134

it worked ..

Thanx Atheek.
Back to top
View user's profile Send private message Send e-mail 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 » Seeing DLQ header using Q Program ??
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.