Your enterprise server region requires an XA resource for each datastore that contains one or more transactional files. If the database containing the datastore is also used by other COBOL applications, additional XA resources are required. Refer to Working with Multiple XARs for details on how to handle such situations.
Option | Description |
---|---|
ID | Unique ID for the XAR |
Name | Unique name for the XAR |
Module | Specify the location of the RM switch module executable file (.dll on Windows or .so on UNIX platforms). This is ESORAXA.dll/.so for Oracle. Refer to Building RM Switch Modules for more information. |
Enabled | Enable the resource for immediate use. |
Open string | ORACLE_XA+SQLNET=<tnsnames-name>+DB=<db-name>+ACC=P/<user-name>/<password>+SESTM=10
You can also specify further options as required, as detailed in
To define an XA resource (XAR) for an enterprise server region.
Note: This connection is applicable to all datastores in the database, unless
ID is the name of a particular datastore; in which case, the connection is only applicable to that datastore.
|
The XA resource should be effective immediately.
You can now proceed to configuring your CICS or batch (JCL) applications to use the file(s) in the datastore.