Determining if messages are being processed
For queue managers that have collection of online monitoring data turned on for the MONQ parameter, the following fields are available in the MainView for MQ QPDC view.
This information can help determine if messages are being processed.
- Current Depth
- Committed Depth
- Oldest Msg Age
If these field values exceed site-determined values, the queue might not be receiving adequate service.
>W1 =QPDC==============MTQ7=====*========DDMMMYYYY==05:42:06====MVMQS====D====1====================================================
Current Data......... API Calls.....
Queue............... BBSMVMQS.REPLY.MTQ7
Queue Manager....... MTQ7 MQOPEN Date..
Current Depth....... 4 MQOPEN Time..
Uncommitted Messages 0 MQPUT Date...
Oldest Msg Age...... N/A MQPUT Time...
MQGET Date...
Current Data......... API Calls.....
Queue............... BBSMVMQS.REPLY.MTQ7
Queue Manager....... MTQ7 MQOPEN Date..
Current Depth....... 4 MQOPEN Time..
Uncommitted Messages 0 MQPUT Date...
Oldest Msg Age...... N/A MQPUT Time...
MQGET Date...
These fields can be used with MainView Alarm Management to cause an alarm to be issued when site-determined thresholds have been exceeded (for more information, see the MainView Alarm Management Guide). The QMMVSD view can be used to display and modify the monitoring.
To monitor a IBM MQ queue for adequate servicing
- Determine that application TRANPROG is the primary user of a queue named TEST.TRANSFER.QUEUE.Application TRANPROG expects messages to be processed within 10 seconds and never expects to have more than 100 residual messages at any one time.
Confirm that monitoring has been enabled for the queue manager by using the QMMVSD view.
W1 =QMMVSD============CSQ4=====*========DDMMMYYYY==13:46:12====MVMQS====D====1
Alteration Time............. 13.31.06 Message Length........ 100
Monitors.................... Repository Management...
Channel.................... HIGH Cluster Name.......... (None)
Queue...................... LOW Cluster Namelist...... (None)
Auto Cluster Sender channel QMGR
Secure Socket Layer.....
Accounting.................. Tasks................. 0
Queue...................... ON CRL Namelist.......... (None)
Key Repository........ (None)
(cont)...............
(cont)...............- Use the information in the MainView Alarm Management Guide to set an alarm on the QPDC view if the Oldest Message Age field value exceeds 10 seconds or if the Current Depth field value exceeds 100.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*