![]() ![]() |
|
READSEQRead from a file opened for sequential access. COMMAND SYNTAXREADSEQ Variable FROM FileVar {SETTING setvar} {ON ERROR statements} THEN | ELSE statements SYNTAX ELEMENTS
Incremental File Errors
If ON ERROR is specified, the statements following the ON ERROR clause will be executed for any of the above Incremental File Errors except error 128.
NOTESEach READSEQ reads a line of data from the sequentially opened file. After each READSEQ the file pointer moves forward to the next line of data. The variable contains the line of data less the new line character from the sequential file. The default buffer size for a READSEQ is 1024 bytes. This can be changed using the IOCTL() function with the JIOCTL_COMMAND_SEQ_CHANGE_RECORDSIZE Sequential File Extensions.
EXAMPLES |