COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

LABEL RECORDS Clause
NOTE: The 1985 COBOL Standard classifies the LABEL RECORDS clause as obsolete, so you
are advised not to use it.
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.
VALUE OF Clause
NOTE: The 1985 COBOL Standard classifies the VALUE OF clause as obsolete. HP COBOL
does not support the VALUE OF clause. If this clause is present, the compiler checks its syntax and
issues a warning.
label-name
is a COBOL word.
label-value
is either a literal or a COBOL word.
File Section 167