Author |
Message
|
Rahul999 |
Posted: Sat Nov 01, 2008 11:12 pm Post subject: Seeing DLQ header using Q Program ?? |
|
|
 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 |
|
 |
Vitor |
Posted: Sun Nov 02, 2008 1:54 am Post subject: |
|
|
 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 |
|
 |
atheek |
Posted: Sun Nov 02, 2008 2:48 am Post subject: |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
RFHUtil can display the dead letter header. |
|
Back to top |
|
 |
Rahul999 |
Posted: Sun Nov 02, 2008 3:10 am Post subject: |
|
|
 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 |
|
 |
atheek |
Posted: Sun Nov 02, 2008 4:18 am Post subject: |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
|
Back to top |
|
 |
Rahul999 |
Posted: Sun Nov 02, 2008 8:31 am Post subject: |
|
|
 Centurion
Joined: 14 Mar 2007 Posts: 134
|
it worked ..
Thanx Atheek. |
|
Back to top |
|
 |
|