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 Discussion » Message Input Count

Post new topic  Reply to topic
 Message Input Count « View previous topic :: View next topic » 
Author Message
nav_kum
PostPosted: Wed Feb 26, 2003 4:00 am    Post subject: Message Input Count Reply with quote

Newbie

Joined: 26 Feb 2003
Posts: 6

HI All,
Is there any way where i can find the number of messages got landed in my queue even if the queue is empty.


Regards,
Navin
Back to top
View user's profile Send private message
jc_squire
PostPosted: Wed Feb 26, 2003 12:04 pm    Post subject: Reply with quote

Centurion

Joined: 14 Apr 2002
Posts: 105
Location: New Zealand

Hi,

You won't be able to tell by looking at the queue attributes, however, if the messages came from a remote qmgr to which you have access you could look at the channel status on the remote queue manager which will show all the messages that passed through the channel for delivery to all local queues on your local queue manager. If all the messages were destined for the queue in question then you would have your answer.

Regards
_________________
J C Squire
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
blowbeat
PostPosted: Thu Feb 27, 2003 1:02 am    Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2002
Posts: 49

....for OS390 /zOS the answer would be 'yes' if you have set the options to generate accounting statistics & then decode the SMF records.

Jan.
Back to top
View user's profile Send private message
Troilus
PostPosted: Fri Feb 28, 2003 3:48 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jul 2002
Posts: 28
Location: Belgium

Or if the messages where persistent you can scan through the MQ recovery log and count them.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
leongor
PostPosted: Fri Feb 28, 2003 5:02 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

The only way to do it - PCF command Reset Queue Statistics (MQCMD_RESET_Q_STATS).
You will get this info in response :
Quote:

QName

TimeSinceReset
(Time since statistics reset in seconds)

HighQDepth
(Maximum number of messages on a queue.
This count is the peak value of the CurrentQDepth local queue attribute since the last reset. The CurrentQDepth is incremented during an MQPUT call, and during backout of an MQGET call, and is decremented during a (nonbrowse) MQGET call, and during backout of an MQPUT call.)

MsgEnqCount
(Number of messages enqueued.
This count includes messages that have been put to the queue, but have not yet been committed. The count is not decremented if the put is subsequently backed out.)

MsgDeqCount
(Number of messages dequeued.
This count includes messages that have been successfully retrieved (with a nonbrowse MQGET) from the queue, even though the MQGET has not yet been committed. The count is not decremented if the MQGET is subsequently backed out.)


Pay attention that if transaction is rollbacked and performed again then it'll be counted twice.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
nav_kum
PostPosted: Fri Feb 28, 2003 5:13 am    Post subject: Reply with quote

Newbie

Joined: 26 Feb 2003
Posts: 6

Thanks a lot for replies
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Message Input Count
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.