Determines the character(s) to be used as the record terminator when reading a line sequential file.
Default: | Off |
Type: | File handling |
When off (-L2), x"0A" or "0D0A"is taken as the record terminator. This provides compatibility with COBOL for Windows.
When on (+L2), x"0A" is taken as the record terminator. This provides compatibility with earlier versions of this system, correctly reading files written using a WRITE ... AFTER ADVANCING statement.
This switch only affects read operations and not write operations.