POS=

From BR Wiki
Jump to navigation Jump to search

The optional "POS=num-expr" clause is used to position to a specified byte before reading. After the numeric expression (usually a simple numeric variable or constant) is evaluated and rounded to an integer, the system reads a complete record beginning at the specified byte number. If "POS=num-expr" is not specified, the system sequentially reads the next complete record after the last byte read.

This clause is used only with external files opened for RELATIVE processing.

See also Pos Parameter and POS internal function.