Connection attempting BACKUP has uncommitted transactions

Item Value
SQLCODE -1028
Constant SQLE_BACKUP_HAS_UNCOMMITTED_TRANS
SQLSTATE WB014
Sybase error code 13482
ODBC 2 State ERROR
ODBC 3 State ERROR

Probable cause 

A connection attempting to do a "BACKUP ... WAIT BEFORE START" or "BACKUP ... WAIT AFTER END" has uncommitted transactions. A COMMIT or ROLLBACK must be performed before executing the backup.