DOWN (DSEB only)

Read syntax diagramSkip visual syntax diagram
Syntax

>>-DOWN(n)-----------------------------------------------------><

(Can be used in FASTREXX procedures.)

Moves down n number of records, or to the last record, if there are less than n records below the current record.

Returns
If, before moving, the current record is the last record, then the DOWN function returns the string value “EOF” (end of file). Otherwise, DOWN returns 0.