Invalid operation '%2' on sequence '%1'

Error constant SQLE_INVALID_SEQUENCE_OPERATION
ODBC 2 state 42000
ODBC 3 state 42000
Parameter 1 Name of the operation attempted.
Parameter 2 Name of the sequence.
Severity 16
SQLCODE -1353
SQLSTATE 52W46
Sybase error code 13207
 Probable cause