Restriction: This topic applies only when the Enterprise Server feature is enabled.
To complete the definition of a generic one-phase commit for ODBC XAR, add the following values in the
Open string field:
DSN=odbc_dsn[,USRPASS=userid.password]
[,LOCALTX={T|F}][,ISOLEVEL={CR|RR|SZ|UR}][,ESLOGGING={0001|0002}]
- odbc_dsn
- The ODBC Data Source Name used to connect to the data source as defined within
the Windows ODBC Data Source Administrator utility (Windows) or
your ODBC driver configuration (UNIX).
- userid
- The user ID required to connect to the data source.
1
- password
- The password required to connect the user ID to the data source.
1
- LOCALTX, ISOLEVEL, and ESLOGGING
- See
SQL xa_open string Configuration Options for details.
1 Alternatively, you can specify the DSN, user ID, and password by manually coding them into the
ESODBCXA.CBL source. This can be helpful if you want to ease security. To do this, search for CUSTOMIZE within
ESODBCXA.CBL to see where to apply the required changes.