Reputation: 57
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?
Issued command:-
dmpmqmsg -m <qmname> -i <queuename> -f <filename>
When I checked using the amqsbcg
sample program, I could see all 176 messages. 176 headers were there. There were no empty messages.
Upvotes: 1
Views: 1073
Reputation: 7476
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}
Upvotes: 2