Use dmpmqmsg to copy MQ message

Copying messages from one queue to another is possible with an inbuilt program called dmpmqmsg in IBM MQ8. In this article, I will explain how to do so. Scenario – copy a message from LOCAL.Q1 to LOCAL.Q2 in CHANDAN.QMGR I have one message in LOCAL.Q1 now To copy, I will use dmpmqmsg program. The message is copied from LOCAL.Q1 to LOCAL.Q2. Let’s verify them. So you see the message is copied to LOCAL.Q2 now.

Copy message from one queue to another   IBM MQ - 49Copy message from one queue to another   IBM MQ - 23Copy message from one queue to another   IBM MQ - 25Copy message from one queue to another   IBM MQ - 53Copy message from one queue to another   IBM MQ - 33Copy message from one queue to another   IBM MQ - 45Copy message from one queue to another   IBM MQ - 19Copy message from one queue to another   IBM MQ - 72Copy message from one queue to another   IBM MQ - 82Copy message from one queue to another   IBM MQ - 29Copy message from one queue to another   IBM MQ - 6Copy message from one queue to another   IBM MQ - 97Copy message from one queue to another   IBM MQ - 7Copy message from one queue to another   IBM MQ - 62Copy message from one queue to another   IBM MQ - 17Copy message from one queue to another   IBM MQ - 61Copy message from one queue to another   IBM MQ - 74Copy message from one queue to another   IBM MQ - 58Copy message from one queue to another   IBM MQ - 24Copy message from one queue to another   IBM MQ - 40Copy message from one queue to another   IBM MQ - 59Copy message from one queue to another   IBM MQ - 9Copy message from one queue to another   IBM MQ - 82