POS=: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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 eval...") |
No edit summary |
||
Line 1: | Line 1: | ||
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. | 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. | This clause is used only with [[Open External|external files]] opened for [[RELATIVE]] processing. | ||
<noinclude> | <noinclude> | ||
[[Category:All Parameters]] | [[Category:All Parameters]] | ||
</noinclude> | </noinclude> |
Revision as of 15:36, 8 May 2014
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.