Cursor is restricted to FETCH NEXT operations

Error constant SQLE_NO_SCROLL_CURSOR
ODBC 2 State S1106
ODBC 3 State HY106
Severity 16
SQLCODE –668
SQLSTATE 09W06
Sybase error code 13710
Probable cause

An illegal FETCH operation has been detected for a NO SCROLL cursor. For a forward-only cursor the only permitted FETCH operations are FETCH RELATIVE 0 and FETCH NEXT (FETCH RELATIVE 1).