Posted: Thu Apr 28, 2011 9:00 am Post subject: Discovering Ratio of Persistent to Non-Persistent Messages
Newbie
Joined: 13 May 2005 Posts: 7 Location: Location: Location:
We have a "hub" V6 queue manager running on zOS that processes many thousands of messages each day.
My management have asked for the following information: How many messages per day? How many of those are persistent messages?
Well I plan to use my Omegamon channel history stats to answer the first question. But I'm at a bit of a loss how to answer the second question.
Is there some way of analysing the log files to obtain a count of the persistent messages? Or a better way (that doesn't involve a channel exit).
Thanks in advance.
Max
SMF116 Class 3 records can provide you the detail you need. See SupportPac Mp1B for information on the format and sample print jobs. Having said that the analysis required to extract the information you are asking for can be daunting - but it is worth investigating.
A couple of comments:
1) As far as measuring the number of messages via channel history information, that will only gather the requested information for messages that flow across those channels. Most z/OS queue managers also process messages that originate and remain on z/OS - queuing between batch jobs and CICS and IMS transactions. You may be missing many messages if you only count what flows across the channels.
2) You can use the RESET QSTATS command to gather information about messages counts for queues. A word of warning, some of the monitoring tools use this command (Tivoli Omegamon does for some types of monitoring), and it does exactly what it says it does - reset the queue statistics.
I believe if you turn on statistics for the channel you might get 2 numbers as for messages processed. One for non persistent messages and one for persistent messages. However you will need a program to interpret the statistics messages. See the samples.
You might also want to investigate if your monitoring tool is able to gather the difference and query directly its database.
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