The 'currval' operator is not defined yet for sequence '%1' for this connection

Error constant SQLE_SEQUENCE_CURRVAL_NOT_DEFINED
ODBC 2 state 42000
ODBC 3 state 42000
Parameter 1 Name of the sequence.
Severity 16
SQLCODE -1363
SQLSTATE 52W51
Sybase error code 13199
 Probable cause