Rec Parameter

From BR Wiki
Revision as of 15:47, 8 May 2014 by Laura (talk | contribs)
Jump to navigation Jump to search
REC=<numeric expression>

The optional "REC=num-expr" clause is used with internal files opened for RELATIVE or KEYED processing or with external files opened for RELATIVE access. Its purpose is to position to a specified record number before reading. After the numeric expression (usually a simple numeric variable or constant) is evaluated and rounded to an integer, the system reads that record number. If "REC=num-expr" is not specified, the system sequentially reads the next active record.

Used in: