Rec Parameter: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "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 i...")
 
No edit summary
Line 3: Line 3:
Used in:
Used in:
*[[Read file]] statements
*[[Read file]] statements
*[[Restore File]]


<noinclude>
<noinclude>
[[Category:All Parameters]]
[[Category:All Parameters]]
</noinclude>
</noinclude>

Revision as of 19:41, 6 August 2013

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: