The -sysevtq option in the nsqcm startup command allows you to specify which system event queue the Connection Manager should read from.
For example, starting nsqcm with:
-sysevtq=SYSTEM.ADMIN.STATISTICS.QUEUE
instructs it to read only from that specific queue. As a result, only MQI statistics will be processed. Other important messages—such as queue manager events, channel events, or accounting statistics—will not be handled, as they are written by MQ to different system queues.
To capture all types of events and statistics, it is recommended to recreate the required system queues as alias queues that all point to a single target queue (e.g., NASTEL.EVENT.QUEUE).
A sample MQSC script (nastel.tst) is available for this purpose. It defines a unified target queue and maps all relevant system queues to it using aliases. Once this script is executed on the MQ server—either through the command line or Navigator—you can configure nsqcm to read from the unified queue by specifying:
-sysevtq=NASTEL.EVENT.QUEUE
This ensures that all system events and statistics are read from a single location.
To execute the setup script, use the following command:
runmqsc QMGRName < /opt/nastel/apwmq/mqsc/nastel.tst