To define the generic one-phase commit for ODBC XA switch module in Enterprise Server, add an XA resource including the following values.
DSN=odbc_dsn[,USRPASS=userid.password]where the parameters are:
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.