Setting up an MQMONITOR resource for the CICS-MQ bridge

Optionally, you can define and install an MQMONITOR resource for controlling the CICS®-MQ bridge. Using an MQMONITOR resource allows the bridge to automatically restart when the connection to the IBM® MQ queue manager is established. This is one of the recommended methods of controlling the CICS-MQ bridge.

Procedure

  1. Define an MQMONITOR resource with the following attributes:
    Table 1. MQMONITOR resource attributes for controlling the CICS-MQ bridge
    Attribute Required or optional Default Description
    AUTOSTART Optional YES This attribute controls auto-restart of the MQ monitor:
    AUTOSTART(YES)
    Enables the bridge to restart automatically when the connection to the IBM MQ queue manager is established.
    AUTOSTART(NO)
    The MQ monitor is not started automatically. After the connection to the IBM MQ queue manager is established, you have to manually start the MQ monitor.
    MONDATA Required for passing parameters to the CICS-MQ bridge - Specify the parameters to be passed to the CKBR transaction. You must specify the parameters on MONDATA (not on the CKBR transaction itself) if you use an MQMONITOR resource.
    MONUSERID Required - Specify the user ID to be associated with CKBR.

    This attribute is only effective when security checking is active (that is, the SEC system initialization parameter is set to YES).

    STATUS Optional ENABLED This attribute makes the resource available for use in the region.
    TRANSACTION Required CKBR Specifies the 4-character transaction ID of the CICS-MQ bridge.
    Note: AUTOSTART(YES) and STATUS(ENABLED) enable the bridge to start automatically when the connection to the MQ manager is established.
  2. Install the MQMONITOR resource.