COBOL Manual for TNS and TNS/R Programs

Data Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
7-22
File Description Entries
LABEL RECORDS Clause
On systems that support file labels, this clause specifies whether the file being
described has labels or not. HP COBOL does not support labeling or label processing.
If you want to use file labels, you must create your own and check them.
STANDARD
specifies that standard system labeling conventions apply to the file.
OMITTED
specifies that no explicit labels exist for the file.
Usage Considerations:
File Description Entry Without LABEL RECORDS Clause
When a file description entry does not have a LABEL RECORDS clause,
HP COBOL assigns the OMITTED attribute to the file.
STANDARD or OMITTED
The choice of STANDARD or OMITTED is significant only for files residing on tape.
LABEL RECORDS Clause With MULTIPLE FILE TAPE Clause
When the LABEL RECORDS clause appears in the file description entry of any file
name mentioned in a MULTIPLE FILE TAPE clause, the specified labeling
convention must apply to all of the file names mentioned in that clause. In practical
terms, this means that every file name appearing in a particular MULTIPLE FILE
TAPE clause must be described with the LABEL RECORDS STANDARD clause if
any of them are so described.
Note. The 1985 COBOL Standard classifies the LABEL RECORDS clause as obsolete, so
you are advised not to use it.
LABEL
OMITTED
STANDARD
RECORDS
RECORD
IS
ARE
VST083.vsd