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

SHARED
allows other processes to read or write the file while this process is open. SHARED is
the default for terminals.
PROTECTED
allows other processes to read but not write the file while this process is open.
PROTECTED is the default for input files that are not terminals.
EXCLUSIVE
prevents other processes from reading or writing the file while this process is open.
EXCLUSIVE is the default for all other files.
sync
is a numeric literal that:
Specifies the number of write requests that cannot be tried again whose I-O status
code is to be recorded by the file system.
Determines the number of write operations that the primary process of a process
pair can perform on the file without doing a checkpoint to its backup process.
If sync is 0, no checkpointing or automatic disk recovery is performed. To allow
recovery from the failure of a processor that is controlling the disk during a write
operation, the value of sync must be 1 or greater. The default value of sync is
1.
REVERSED
NOTE: The 1985 COBOL standard classifies REVERSED as obsolete, so you are
advised not to use it.
is ignored with a warning.
NO REWIND
specifies that a tape is not to be rewound. This phrase applies to single-reel, single-file
tapes; single-reel, multiple-file tapes; and multiple-reel, single-file tapes. If NO REWIND
is specified for other types of files, it is ignored. If NO REWIND is not specified for a
tape file, the tape is rewound.
The tape must be positioned at the beginning of the file prior to the execution of the
OPEN statement. No file repositioning is done.
OUTPUT
specifies that the file or files in output-file-description are being opened for writing
only.
output-file-description
for a sequential, relative, indexed, or queue file:
OPEN 377