To Associate a Database XA Resource with a CICS Region Startup File

When a transaction uses a SQL database, the connection string defined in the database XA resource definition associated with the region will, by default, be used to connect to that database. A database XA resource definition can be associated with a region at either the SIT or region startup file level. When specified in both the SIT and region start-up file, the region startup file takes precedence. To associate a database XA resource definition with a region startup file:
  1. Open the region startup file using the Enterprise Server for .NET Administration UI's Region Startup File Editor
  2. Select the Region node in the Results pane. See 1 in the diagram below. A properties window is now displayed to the right-hand side of the Results pane.
  3. Locate the SQL category in the properties window and enter the database XA resource definition name that you want associated with the region as the value of the XA resource name property. See 2 in the diagram below.
  4. Choose File > Save , or click the Save icon in the toolbar to save the file. See 3 in the diagram below.

    GUID-DC895F00-53D4-461C-90F1-5E215BE531CF-low.png

You must cold-start the region for the changes to take effect.