COMMIT/ROLLBACK not allowed within trigger actions

Item Value
SQLCODE -273
Constant SQLE_INVALID_TRIGGER_STATEMENT
SQLSTATE 2D501
Sybase error code 102
ODBC 2 State 37000
ODBC 3 State 42000

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.