ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Find time most recent message was placed on a Queue

Post new topic  Reply to topic
 Find time most recent message was placed on a Queue « View previous topic :: View next topic » 
Author Message
JohnRodey
PostPosted: Tue Jun 07, 2005 10:47 am    Post subject: Find time most recent message was placed on a Queue Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

Is there a way built into MQ to ask a queue when was the last time that a message was placed on it or retrieved from it?
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Jun 07, 2005 11:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

From the WMQ 6.0 MQSC manual:

A number of parameters are introduced on the DISPLAY QSTATUS command to display message activity on the queue. These are:
– LGETDATE - the date on which the last message was retrieved from the queue since the queue manager started
– LGETTIME - the time at which the last message was retrieved from the queue since the queue manager started
– LPUTDATE - the date on which the last message was put to the queue since the queue manager started
– LPUTTIME - the time at which the last message was put to the queue since the queue manager started
– MONQ - the current level of monitoring data collection for the queue
– MSGAGE - the age, in seconds, of the oldest message on the queue
– QTIME - the interval between messages being put on the queue and then being destructively read
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
wschutz
PostPosted: Tue Jun 07, 2005 11:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

And those are only collected if monitoring for the queue is turned on.

For older versions of MQ, there never really was a good way to collect that information (aside from something drastic like an api "crossing" exit)
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Find time most recent message was placed on a Queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.