3.5.5
LABEL RECORDS
3-16
The LABE L RE CORDS clause is required in every file description entry
regardless of the presence or absence of label records.
It
identifies labels
as standard or as nonstandard; but if labels are not present, it specifies that
they are omitted.
Format 1:
1
RECORDS ARE
I
.
LABEL
RECORD IS
STANDARD VALUE OF label-fleld-l IS
1 ~t;:~~~~e
-1
! [ ,
label-field -2 IS
1 !:~!e
-2
! ]
Format 2:
1
RECORDS ARE
l
LABEL
RECORD IS
\ data-name-3 VALUE OF data-name-4 IS
l
literal-3
l
data-name-5\
[
, data-name-6 IS lliteral-4
I]
data-name-7
Format 3:
LABEL
1
RECORDS ARE/
OMITTED
RECORD IS
Format
1
is used when a file has standard labels (appendix E). All mass
storage files except scratch files must be specified STANDARD in this clause.
Mass storage scratch files, may have OMITTED or STANDARD labels. Mass
storage file labels are maintained by MASTER File Supervisor and are not
accessible to the user. For any non-mass storage file that has standard
labels, the record area defined for that file is used by the input-output con-
trol system for processing the header and/or trailer labels. Thus, the user
may access each label within the USE declarative procedures.
Format
2
is used when labels are nonstandard or user defined. Data-name-3
is the name of a label record area.
It
must not appear in the DATA RECORDS
clause, and is either the subject of a record description associated with the
file, or an area in working or common storage. Only the beginning labels are
checked for files with data name labels. All Procedure Division references to
the data name specified in this clause, or to any items subordinate to this
data name, must appear within USE procedures.
Format 3 is specified w hen no explicit labels exist for the file or for the device
to which the file is assigned. Files assigned to TTY or CRT do not have
labels and OMITTED should be specified.
60229400
Need help?
Do you have a question about the 3300 and is the answer not in the manual?