Problem: The Oldest Msg Age, Short Term Queue Time, Long Term Queue Time, Last Get Date & Time, and Last Put Date & Time columns in the Queue Status workspace are shown as n/a or blank.
Evaluate: If the value of the Queue Monitoring column in the Queue Status workspace is Off, it indicates that real-time monitoring is not enabled for this queue, which leads to the fact that the values of the Oldest Msg Age, Short Term Queue Time, and Long Term Queue Time columns are n/a and the values of Last Get Date & Time and Last Put Date & Time columns are blank.
Solution: To enable real-time monitoring for a specific queue, the MONQ attribute needs to be customized at either the queue or the queue manager level. For all queues of which the MONQ attribute is specified as the default value QMGR, real-time monitoring is controlled at the queue manager level. The following example shows how to enable real-time monitoring for a local queue:
Run the following MQSC command to display the value of the MONQ attribute of the queue:
display qlocal(queue_name) monq
If the value is OFF, specify the value as Low, Medium or High by running the following command:
alter qlocal(queue_name) monq(high)
If the value is QMGR, change the value of the MONQ attribute of the queue manager to low, medium or high using the following command:
alter qmgr monq(high)
Tip: You do not need to restart the queue manager after these changes.