Cursor already open

Error constant SQLE_CURSOR_ALREADY_OPEN
ODBC 2 state 24000
ODBC 3 state 24000
Severity 16
SQLCODE -172
SQLSTATE 24502
Sybase error code 558
 Probable cause