COMMIT/ROLLBACK not allowed within atomic operation

Error constant SQLE_ATOMIC_OPERATION
ODBC 2 state 37000
ODBC 3 state 42000
Severity 16
SQLCODE -267
SQLSTATE 42W28
Sybase error code 13640
 Probable cause