Invalid commit action for shared temporary table

Error constant SQLE_INVALID_SHARED_COMMIT_ACTION
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –1089
SQLSTATE 52W26
Sybase error code 13425
Probable cause

A global shared temporary table must be declared as ON COMMIT PRESERVE ROWS or NOT TRANSACTIONAL.