COBOL Manual for TNS and TNS/R Programs
Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
9-139
OPEN
input-file-description
for a sequential, relative, indexed, or queue file:
for a line sequential file:
infile
is the file description file name of a file to open in INPUT mode, for read
operations only.
TIME LIMITS
allows you to use the TIME LIMIT phrase in LOCKFILE, READ, and
START statements that apply to infile.
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.
infile
WITH
TIME LIMITS
«REVERSED»
WITH
NO REWIND
SYNCDEPTH syncSHARED
PROTECTED
EXCLUSIVE
VST188.vsd
infile
SHARED
PROTECTED
EXCLUSIVE
VST627.vsd