issue in taking backup of messages in MQ using dmpmqmsg

We faced a issue in production.A queue has curdepth of 176.but while taking backup,its showing only 170 messages . There is no uncommitted messages also.. why 6 messages are not getting backed up?enter image description here

Issued command:-

dmpmqmsg -m <qmname> -i <queuename> -f <filename>

enter image description here

When I checked using the amqsbcg sample program, I could see all 176 messages. 176 headers were there. There were no empty messages.

2

1 Answer

A couple of thoughts:

(1) From the time you issued the 'dis ql({qname})' command to you running the dmpmqmsg program, 6 messages could have been consumed by another program.

(2) Those 6 messages could be expired messages.

(3) Even though UNCOM has a value of 'NO', you can run the dspmqtrn program to see if there are any uncommitted messages:

Internally coordinated:

dspmqtrn -i -m {QMgrName}

Externally coordinated:

dspmqtrn -e -m {QMgrName}
11

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like