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 manager is established. This is one of
the recommended methods of controlling the CICS-MQ bridge.
Important: When you use an MQMONITOR to control the CICS-MQ
bridge, the attributes needed by the CICS-MQ bridge
must be specified in the MONDATA attribute of the MQMONITOR.
Procedure
-
Define an MQMONITOR resource with the following attributes:
Table 1. MQMONITOR resource attributes for controlling the CICS-MQ
bridge
| Attribute |
Required / 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 bridge |
- |
Specify the parameters to be passed to the CKBR transaction. |
| 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.
-
Install the MQMONITOR resource.