NEXTREC primary command

When viewing segmented data in SNGL display mode, the NEXTREC primary command moves to the first segment of the next "visible" physical record (see Note below) or, if you specify a number, moves forward that number of physical records.
Note: In this context, "visible" means any selected, not suppressed, or not excluded record, unless those types of records are being shown in the view because of edit settings or entered SHOW commands.
Note: If you specify a number of records greater than the remaining number of physical records, the **** End of data **** line is displayed.


Read syntax diagramSkip visual syntax diagram

Scrolls forward the specified number of physical records. The default is 1 physical record.
Scrolls to first segment of the last physical record.


Related tasks and examples