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-14
File Description Entries
FILE STATUS clause
defines filestat as the file-status data item for the file. When a COBOL run-
time I-O routine completes an operation on the file, it stores the status code in
filestat before returning control to your program (see I-O Status Code).
filestat
is an alphanumeric, nonnational data item defined in the Working-Storage
Section, Extended-Storage Section, or Linkage Section.
File Description Entries
The syntax for a file description entry for a line sequential file is:
STATUS
ISFILE
filestat
VST000.vsd
file-name
.
RECORD CONTAINS clause
«LABEL RECORDS clause»
«VALUE OF clause»
«DATA RECORDS clause»
REPORT clause
EXTERNAL clause
GLOBAL clause
VST633.vsd