Skip to Main Content
Integration


This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Future consideration
Created by Guest
Created on Aug 1, 2019

IBM MQ for z/OS - Queue Statistics

Today some queue level information can be extracted in two ways; either from the SMF Task accounting data (class 3), or by issuing periodic RESET QSTATS and DISPLAY QSTATUS commands and capturing the responses. Knowing the number and type of requests along with the volume of data being processed in individual queues is critical to track usage, do trend analysis, resizing storage containers, moving from private to shared queues, problem determination, etc.

The MQ Task accounting data has the advantage of being the most complete and informative. It has the disadvantage to being costly to gather, process, and store. And even the most sophisticated queries often cannot get the individual queue use to align with the normal MQ statistics interval.
Using the commands has the advantage of being less expensive. It is the technique used by most, if not all, MQ monitoring tools. However, it does not include information that may be required for both volume analysis and problem determination. The RESET QSTATS command can interfere with any other tool issuing that command. Also there is no reliable way to coordinate the command results with the SMF intervals used for other types of performance and trend analysis.

What is required is a way to gather actual queue statistics reporting for individual queues that is produced at the SMF intervals, another SMF115 subtype. It would be helpful to have this data as part of the SMF data and optionally to be published to any number of subscribers. The data would include information that is like some of the data gathered for the WQ records and some from the queue status.
This data will provide more immediate feedback on the application activity and can drive automated action to address changes in message volume. .

The following fields are necessary:
Open Name
Base Name
CF Structure
Bufferpool ID
Pageset ID
High Number of input processes with the queue open
Lowest number of input processes with the queue open
High Number of output processes with the queue open
Lowest number of output processes with the queue open
Current Number of input processes with the queue open
Current number of input processes with the queue open
Open Count
Close Count
Get Count
Maximum Depth during Interval
Valid Get Count
GET Total Bytes
GET Min message size
GET Max message size
Minimum Time on Queue
Maximum Time on queue (oldest message retrieved)
Skipped Count
Expired Count
Get Persistent Message Count

Put Count
Put1 Count
Valid Put Count
PUT total Bytes
PUT Min message size
PUT Max message size
Generated Message Count
PUT Persistent Message Count
PUT1 Persistent Message Count
PUT to waiting getter count
PUT1 to waiting getter count
MQINQ Count
MQSET Count

Other fields that might be useful for tuning and evaluation:
Number of Gets with a Wait that expired during the interval
This could be used to set the number of application instances required
Number of Gets that retuned a ‘2033' – with no wait
Current number of Gets with a wait active
Number of puts that failed

Idea priority Urgent
RFE ID 135074
RFE URL
RFE Product IBM MQ
  • Admin
    Mark Taylor
    Jul 1, 2021

    We are looking at enhancements in this area for a future version of MQ

  • Guest
    Aug 23, 2019

    Expired message count should include messages that are removed as part of the expiry scavenger, too. Thanks

  • Guest
    Aug 5, 2019

    Please note that topic statistics should also be included in this request. Sixteen years ago when this was originally created topics were not part of MQ for z/OS.