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 - 19Copy message from one queue to another   IBM MQ - 3Copy message from one queue to another   IBM MQ - 53Copy message from one queue to another   IBM MQ - 61Copy message from one queue to another   IBM MQ - 61Copy message from one queue to another   IBM MQ - 5