Error opening cursor

Error constant SQLE_OPEN_CURSOR_ERROR
ODBC 2 state 24000
ODBC 3 state 24000
Severity 15
SQLCODE -171
SQLSTATE 07003
Sybase error code 102
 Probable cause