COMMIT/ROLLBACK not allowed within trigger actions

Error constant SQLE_INVALID_TRIGGER_STATEMENT
ODBC 2 State 37000
ODBC 3 State 42000
Severity 15
SQLCODE –273
SQLSTATE 2D501
Sybase error code 102
Probable cause

You attempted to execute a statement that is not allowed while performing a trigger action. COMMIT and ROLLBACK statements cannot be executed from a trigger.