Invalid absolute or relative offset in FETCH

Error constant SQLE_INVALID_FETCH_POSITION
ODBC 2 State 37000
ODBC 3 State 42000
Severity 16
SQLCODE –263
SQLSTATE 42W25
Sybase error code 6259
Probable cause

You specified an offset in a FETCH that was invalid or NULL.