COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

EXCLUSIVE
prevents other processes from reading or writing the file while this process is open.
EXCLUSIVE is the default for all other files.
OUTPUT
specifies that the file or files in output-file-description are being opened for writing
only.
output-file-description
outfile
is the file description file name of a file to open in OUTPUT mode, for write operations
only.
SHARED, PROTECTED, EXCLUSIVE
are the same as described earlier for infile.
EXTEND
specifies that the file or files in extend-file-description are being opened for writing
additional data following any existing data.
extend-file-description
extfile
is the file description file name of a sequential file to open in EXTEND mode, for write
operations that append records to the file. The file is positioned after the last logical record
when opened. All operations on the file must be write operations, as if the file had been
opened in OUTPUT mode. If the file is an Enscribe unstructured file, its size must be a
multiple of the record size.
SHARED, PROTECTED, EXCLUSIVE
are the same as described earlier for infile.
READ Statement
The READ statement for a line sequential file has this syntax:
Line Sequential Files 721