Informix Error -701
-701 Statement is invalid within the XA environment.
This error is generated when you attempt to execute any of the following statements within an X/Open distributed transaction-processing environment:
* CLOSE DATABASE
* CREATE DATABASE
* DROP DATABASE
* SET LOG
* SAVEPOINT
* RELEASE SAVEPOINT
* ROLLBACK TO SAVEPOINT
Within this environment, you can execute a single DATABASE statement after an xa_open call to specify a current database. However, after this database is selected, no other DATABASE statement can be executed. This error is generated when you attempt to execute a second DATABASE statement.