No current row of cursor

Error constant SQLE_NO_CURRENT_ROW
ODBC 2 state 24000
ODBC 3 state 24000
Severity 16
SQLCODE -197
SQLSTATE 24503
Sybase error code 560
 Probable cause