Defining and installing an MQCONN resource
You must install an MQCONN resource before CICS® can start the connection to IBM® MQ.
About this task
The MQCONN resource specifies the attributes of the connection between CICS and IBM MQ.
Procedure
Results
In addition to installing the MQCONN resource, CICS dynamically installs an MQMONITOR resource with the reserved name of DFHMQINI representing the default initiation queue.
- QNAME
- Specifies the initiation queue name.
- TRANSACTION
- CKTI (by default)
- MONUSERID
- This attribute is obtained as follows:
- From the PLTPIUSR system initialization parameter, if available
- Otherwise, from the CICS region user ID
- USERID
- The value is the CICS default user ID.
What to do next
If you want to modify and reinstall your MQCONN resource, you must stop the connection between CICS and IBM MQ. You can install an MQCONN resource only when CICS is not connected to IBM MQ.
If you want to change the QNAME attribute of the dynamically installed MQMONITOR, you must first change the INITQNAME attribute of the MQCONN resource and then reinstall the MQCONN resource.
You can install more MQMONITOR resources for monitoring MQ queues, including initiation queues. You can have more than one MQMONITOR resource monitoring an MQ queue.
If you have concerns about the default settings of MQMONITOR DFHMQINI (for example, migrating to DFHMQINI proves more complicated than anticipated), it's possible to install a user-defined MQMONITOR resource with the name of DFHMQINI. This gives you the flexibility in setting the AUTOSTART, STATUS, MONUSERID and USERID attributes to user-defined values so as to be backward compatible, thus making migration easier. The TRANSACTION attribute must be CKTI.