Cannot commit or rollback while enlisted in a transaction

Error constant SQLE_CANNOT_COMMIT_OR_ROLLBACK_WHILE_ENLISTED
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -800
SQLSTATE 55W09
Sybase error code 13810
 Probable cause