FetchAbsolute()

 variable.FetchAbsolute(row_number)

This method is used to fetch the specified row from the active set regardless of the current cursor position. It can be used only with cursors declared WITH SCROLL. This method moves the cursor to the specified row and retrieves it. The absolute row number depends on the position of the rows located in the active set, e.g. it can depend on the ordering you applied to the SELECT statement for which the cursor was declared.

It accepts one argument which is the row position and is represented by a literal positive integer or an integer expression returning a positive integer. You cannot use a negative integer as the row number. If you try to use a row number below the active set, the NOT FOUND condition will occur.

CALL cur_v.FetchAbsolute(10)