COBOL Manual for TNS and TNS/R Programs
Data Division
HP COBOL Manual for TNS and TNS/R Programs—522555-006
7-23
File Description Entries
VALUE OF Clause
label-name
is a COBOL word.
label-value
is either a literal or a COBOL word.
DATA RECORDS Clause
Use the optional DATA RECORDS clause to enumerate the names of the records that
are defined for the file. Each data-name corresponds to one level-01 name in the
record descriptions following the file description. The existence of more than one data-
name indicates the file has more than one type of data record. These records can vary
in size, format, and so on, and can be listed in any order. All data records within a file
share the same memory area.
rec-name
is the name of a record that is to follow the file definition.
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.
Note. The 1985 COBOL Standard classifies the DATA RECORDS clause as obsolete, so you
are advised not to use it.
VALUE OF
label-name
OF
label-value
VST084.vsd
DATA
rec-name
RECORDS
RECORD
IS
ARE
VST085.vsd