REC=: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "The optional "REC=num-expr" clause is used to position the pointer to a specified record number before reading. After the numeric expression (usually a simple numeric variable...")
 
No edit summary
Line 2: Line 2:


Used with internal files opened for RELATIVE or KEYED processing or with external files opened for RELATIVE access:
Used with internal files opened for RELATIVE or KEYED processing or with external files opened for RELATIVE access:
*[[Read]]
*[[Read file|Read]]
*[[Write]]
*[[Write]]



Revision as of 21:05, 30 July 2013

The optional "REC=num-expr" clause is used to position the pointer 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 with internal files opened for RELATIVE or KEYED processing or with external files opened for RELATIVE access: