Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
Do you want to get off the oldest message on the queue, or find out how old the oldest message on the queue is?
Is your message PRIORITY or FIFO? If PRIORITY, do you have mixed priorities? If not, just get the first message - that will be the oldest.
If you just want to know how old it is, browse it and look at PutDate and PutTime or, if you have queue monitoring on (MONQ attribute) then look at MSGAGE on QSTATUS.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here! MQGem Software
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum