Value-sensitive cursor used after a TRUNCATE

Error constant SQLE_HOLD_CURSOR_AFTER_TRUNCATE
ODBC 2 State 24000
ODBC 3 State 24000
Severity 16
SQLCODE –1241
SQLSTATE 24001
Sybase error code 13273
Probable cause

You attempted to use a value-sensitive cursor opened WITH HOLD after a TRUNCATE or after a COMMIT removed all rows from a temporary table declared as ON COMMIT DELETE ROWS.