COBOL Manual for TNS and TNS/R Programs
Using HP COBOL in the OSS Environment
HP COBOL Manual for TNS and TNS/R Programs—522555-006
19-18
OPEN Statement
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.
I-O
specifies that the file or files in i-o-file-description are being opened for
reading and writing.
i-o-file-description
iofile
is the file description file name of a file to open in I-O mode, for both read and
write operations.
outfile
SHARED
PROTECTED
EXCLUSIVE
VST628.vsd
iofile
SHARED
PROTECTED
EXCLUSIVE
VST626.vsd