Reputation: 2424
I need to backup the queue and delete the first message in the queue. I have used the below code
./qload -m qmgr SYSTEM.CLUSTER.TRANSMIT.QUEUE -r 1
Also I need to display first message has been deleted
Upvotes: 1
Views: 1898
Reputation: 2424
I have found the answer.It works for me
qload -m $qmgr -I $qname -f <qmgr>_<qname>_<date>.log -r 1
Upvotes: 1