Previous Topic Next topic Print topic


Resource Manager Definition for SQL Server Switch Module

To define the SQL Server XA switch module in Enterprise Server, add an XA resource including the following values.

1 Alternatively, you can specify the DSN, user ID, and password by manually coding them into the esmssql.cbl source. This can be helpful if you want to ease security. To do this, search for CUSTOMIZE within esmssql.cbl to see where to apply the required changes.
2 You must also code a reference to this connection name into the source for your deployed container-managed service as follows:
EXEC SQL SET CONNECTION connectname END-EXEC

Where connectname is the name specified in the Open string field on the Enterprise Server XA Resources tab.

Previous Topic Next topic Print topic