Please enable JavaScript to view this site.

A-Shell Reference

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

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

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

These statements are similar to the corresponding GET, GET'LOCKED, and GET'READ'ONLY statements, except that instead of locating the record directly, by means of a specified key value, they simply get the next record based on the order of the index last specified in a GET or FIND statement.

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.