XAID

Simplifies working with multiple XARs of the DB2 RM type defined in a single enterprise server region.

Syntax:

XAID=xarid[_s|_S]

Parameters:

xarid
The XAR ID set in the enterprise server region XAR definition.
[_s|_S]
The XA resource will use static registration. If not specified, the XA resource will use the DB2 default of dynamic registration in distributed transactions. In most cases, dynamic registration is more efficient then static registration.

Properties:

Default: None

Comments:

XAID is mandatory when using more than one XAR defined with DB2 RM switch module type for use in, for example, online CICS or Web Services applications.

XAID is also mandatory when MFDBFH and a distinct embedded SQL XAR are both accessing DB2 for use in any online or batch applications.

When not using MFDBFH, compiling online and DSNRLI applications with XAID is also mandatory when using the DB2 switch module for dynamic registration that are also configured to run with any of the following xa_open string parameters set to non-default values: UserP, LocalTX, ISOLEVEL and PACKAGEPATH. Using XAID is not required for other batch processing, including IKJEFT01, and DSNALI.

See RM Switch Module Registration and the PACKAGEPATH=schema1, UserP=(T|F), LocalTX=(T|F), and ISOLEVEL=(CR|RO|RR|SS|SZ|UR) sections in SQL xa_open string Configuration Options for more information. section in SQL xa_open string Configuration Options for more information.