Restriction: This topic applies only when the Enterprise Server feature is enabled.
Follow the steps in the topic
To define an XA resource (XAR) for an enterprise server region using the following properties:
- For two-phase commit transactions
-
- ID
- MQXA
- Name
- MQSERIES
- Module
- ESMQXA
- Open string
- TPM=CICS,AXLIB=casaxlib,QMNAME=queue manager name, CHANNEL, TRPTYPE, CONNAME
- TPM
- The transaction manager being used. Must be set to
CICS.
- AXLIB
- The name of the library that contains the transaction manager's
ax_reg and
ax_unreg functions. Must be set to
casaxlib.
- QMNAME
- The name of the queue manager. This is a mandatory parameter.
- CHANNEL
- Optional - the name of an MQI channel. If this parameter is supplied, the CONNAME parameter must also be supplied.
- TRPTYPE
- Optional - the communications protocol for the MQI channel. The default is TCP. The following are valid values:
- LU62
- SNA LU 6.2
- NETBIOS
- NetBIOS
- SPX
- IPX/SPX
- TCP
- TCP/IP
- CONNAME
- The network address of the queue manager (connection name). The valid values of this parameter depend on the value of the
TRPTYPE parameter. CONNAME is mandatory when multiple MQ listeners are defined to make an MQ connection from the
Micro Focus Directory Server, and optional when connecting using a single MQ listener. If this parameter is supplied, the CHANNEL parameter
must also be supplied.
Example Open String
TPM=CICS,AXLIB=casaxlib,QMNAME=TESTQ,CHANNEL_TESTQ,TCP,123.10.20.135(1414)
Note: If you specify the CHANNEL, TRPTYPE, and CONNAME parameters, you must also set the
MQSERVER environment variable, providing the same parameter values. See
WebSphere MQ-Specific Environment Variables for more information.
- Enabled
- checked
Note: For one-phase commit transactions, you must set the environment variable ES_MQ_1PC=Y|y|T. See
Environment variables in alphabetical order for more information.