Wednesday, May 22, 2013

Trouble shooting DLQ on IBM Websphere MQ

Determine why a message is on the DLQ (dead letter queue): 
  1. Browse the message on the dead letter queue.
  2. Locate the dead letter header. The dead letter header starts with the characters '"DLH". Example: 444C 4820 0000 0001 0000 010A 4D59 2E51 'DLH........MY.Q'
  3. Find the dead letter Reason (the reason the message arrived on the DLQ) in the third word in the dead letter header. In this example the dead letter Reason is: x'0000 010A'.
  4. Convert hex x'0000 010A' to decimal 266.
  5. Use the dead letter reason code to determine why the message was placed on the dead-letter queue. The deal letter reason code is a Reason Code (MQRC_*) ,or a Feedback Code (MQFB_*). Example: MQFB_TM_ERROR 266 X'0000010A'
For a list of reason codes, see Reason codes.
For a list of feedback codes, see Feedback codes.

No comments:

Post a Comment