Collecting data for the Queue Status workspace

By default, the values of some columns in the Queue Status attribute group are n/a or blank. To ensure that the data that is displayed in the Queue Status workspace is complete and accurate, you must enable real-time monitoring for the queue.

You must have the required authorities for the MQSC commands.
Do the following steps to enable real-time monitoring for one or multiple queues so that the Queue Status workspace displays complete and accurate data:
Display the value of the MONQ attribute of the queue or queues by running the following MQSC command:
DISPLAY QLOCAL(queue_name) MONQ
where queue_name is the name of the queue. You can also specify a generic name by entering a character string that is followed by an asterisk (*).
Depending on the value of the MONQ attribute of the queue, do one of the following things:
  • If the value is OFF, change its value to LOW, MEDIUM, or HIGH by running the following MQSC command:
    ALTER QLOCAL(queue_name) MONQ(collection_level)
    where queue_name is the name of the queue and collection_level specifies the collection level of monitoring data for the queue. You can set it to LOW, MEDIUM, or HIGH to suit the requirements of your environment.
  • If the value is QMGR, change the MONQ attribute of the queue manager to LOW, MEDIUM, or HIGH by running the following MQSC command:
    ALTER QMGR MONQ(collection_level)
    where collection_level specifies the collection level of monitoring data for the queues whose MONQ attribute is set to QMGR. The LOW, MEDIUM, and HIGH settings all have the same exact effect for MONQ (there is no difference in processing).
You do not have to restart the queue manager for these changes to take effect.