Invalid absolute or relative offset in FETCH

Item Value
SQLCODE -263
Constant SQLE_INVALID_FETCH_POSITION
SQLSTATE 42W25
Sybase error code 6259
ODBC 2 State 37000
ODBC 3 State 42000

Probable cause 

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