PREVREC primary command

When viewing segmented data in SNGL display mode, the PREVREC primary command moves to the first segment of the previous "visible" physical record or, if you specify a number, moves back 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.

Syntax

Read syntax diagramSkip visual syntax diagram
               .-1-----------.   
>>---PREVREC---+-------------+---------------------------------><
               +-num_records-+   
               '-MAX---------'   

num_records
Scrolls back the specified number of physical records. The default is 1 physical record.
MAX
Scrolls to the beginning of the data set.

Availability

Related tasks and examples