UP (DSEB only)

Figure 1. Syntax

1 UP(n)

(Can be used in FASTREXX procedures.)

Moves up n number of input records, or to the first input record, if there are less than n records above the current input record.

If, after moving, the current input record is the first input record, then the UP function returns the string value “TOF” (top of file).