Cursor not open

Error constant SQLE_CURSOR_NOT_OPEN
ODBC 2 state 34000
ODBC 3 state 34000
Severity 16
SQLCODE -180
SQLSTATE 24501
Sybase error code 559
 Probable cause
 More information