IBM Support

Using IBM MQ dmpmqmsg with option -h to strip/remove headers to move a message from Dead Letter Queue or Transmission Queue into a target queue

Question & Answer


Question

The IBM MQ commad dmpmqmsg can be used with option "-h" to strip/remove headers to move a message from:
- the Dead Letter Queue (DLQ, with eye-catcher DLH) to another queue
- the Transmission Queue (XMITQ, with eye-catcher XQH) to another queue

Answer

Example to move (DELETE) message from Q1 to Q3, stripping the headers
  dmpmqmsg -m QM93WIN -I Q1 -o Q3 -h
++ For detailed scenarios see the attached PDF file:
+ tags:
Author: Angel rivera; DLQ, XMITQ, DLH, XQH
+++ end +++

[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m3p000000PCH0AAO","label":"Administration"}],"ARM Case Number":"TS015993094","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
15 April 2024

UID

ibm17148314