MQ XA switch modules support the BATCHONLY option

The BATCHONLY option ensures that only batch modules can execute XA operations on that BATCHONLY XA entry. Use this option to target several MQ XA entries and switch from one to another. A DNSRLI job is able to connect to an MQ XA entry, disconnect, and connect to a different MQ XA entry within the same batch program.

Note:
  • Any SWITCH verb must be terminated using a TERMINATE THREAD before establishing a new connection.
  • The following limitations apply:
    • Only one MQ XA entry can be active at a time in a CICS region.
    • Different MQ XA resource cannot target the same QUEUE MANAGER.
where:
BATCHONLY={T|F}
T
True
F
False (default value)

Example xa open string:

QMNAME=MTOMQ32.QM,TPM=CICS,AXLIB=casaxlib,BATCHONLY=T