Defining and installing MQMONITOR resources
You can choose to install MQMONITOR resources to process incoming messages on MQ queues including initiation queues. You can have more than one MQMONITOR resource processing incoming messages on an MQ queue. Using MQMONITOR resources is the recommended method of controlling instances of the CICS®-MQ trigger monitor, CKTI.
Before you begin
About this task
You can define and install MQMONITOR resources to control the CICS-MQ trigger monitor, CKTI.
You can also define and install MQMONITOR resources for your user-written trigger monitors or MQ message consumers. When a user-written MQ monitor program, rather than the default CKTI, is to be used with an MQMONITOR resource, it is the responsibility of the user-written program to get messages directly from application queues and perform the required logic. When you code your program, ensure to follow the guidelines described in Developing and using user-written MQ trigger monitors and MQ message consumers.
You can install a new MQMONITOR at any time, even when the CICS-MQ adapter is connected to MQ.
You can reinstall (by replacing) an existing MQMONITOR only when the MQMONITOR is disabled and no transaction is using it. Use the SET MQMONITOR DISABLED STOPPED command to stop the associated task and disable the resource.
You can discard an MQMONITOR only if it is disabled and there is no associated task. Use the SET MQMONITOR DISABLED STOPPED command to stop the associated task and disable the resource.
When you install an MQCONN resource that specifies a value in the INITQNAME attribute, CICS also dynamically creates and installs an MQMONITOR resource with the reserved name of DFHMQINI representing the default initiation queue.
For details about DFHMQINI, see MQMONITOR resources.