GET'PREV Statements

GET'PREV #channel, {wait’record,} varlist

GET'PREV'LOCKED #channel, {wait’record,} varlist

GET'PREV'READ'ONLY #channel, {wait’record,} varlist

These statements are identical to the corresponding GET'NEXT statements except instead of getting the next (i.e. higher) record in the index, they get the previous (i.e. lower) record in the index.

The fstatvar status variable (from the OPEN statement) will be set to ISAM_NF if there are no more records in index order, or ISAM_NA if the found record is locked, or ISAM_EQ for success.