COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
SAME AREA clause
specifies the files that share the same memory during program execution. These files do not
share disk space or tape space.
The SAME AREA clause has different meanings for I-O files (sequential, relative, indexed) than
for sort-merge files.
same-file
is a file name.
OPEN Statement
The OPEN statement has this file-specification:
INPUT
specifies that the file or files in input-file-description are being opened for reading
only.
input-file-description
infile
is the file description file name of a file to open in INPUT mode, for read operations only.
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.
720 Using HP COBOL in the OSS Environment










