To define the DB2 switch module in Enterprise Server, add an XA resource including the following values in the
Open string field.
Note: The open string format is defined by IBM. We strongly recommend that you become familiar all of the available options by reviewing the
DB2 Administration Guide and the
Application Programmer's Guide in your IBM documentation. Example settings are shown in this topic for guidance only.
Enclose values containing spaces in double quotes.
db=name,uid=identifier,pwd=password,axlib=casaxlib
The parameters are:
- db
- The name of your DB2 database.
- uid
- The user ID required to connect to the DB2 server.
- pwd
- The password required to connect the user ID to the XDB Server. Required.
- axlib
- The fully-qualified name of the library that contains the transaction manager's
ax_reg and
ax_unreg functions. Must be set to
casaxlib or
casaxlib64 for 64-bit applications.