IBM standard data set label 1 (HDR1/EOV1/EOF1)

Learn the details of IBM® standard data set label 1 (HDR1/EOV1/TRL1) by reading this information. The IBM standard data set label 1 (HDR1/EOV1/TRL1) is 80 characters in length, and you use it to identify each data set.

Table 1. Format of the IBM Standard Data Set Label 1 (HDR1/EOV1/EOF1)
Offset Data Type Length Contents
0 Character 3 Label identifier
3 Character 1 Label number
4 Character 17 Data Set (File) Identifier
21 Character 6 Aggregate volume identifier
27 Character 4 Aggregate volume sequence number
31 Character 4 Data Set (File) sequence number
35 Character 4 Generation Number (not used)
39 Character 2 Generation Version Number (not used)
41 Character 6 Creation Date
47 Character 6 Expiration Date
53 Character 1 Data Set (File) Security (not used)
54 Character 6 Block Count, Low Order (Trailer labels only)
60 Character 13 System Code (Trailer labels only)
73 Character 3 Reserved
76 Character 4 Block Count, High Order (Trailer labels only)

The program records the data set label in EBCDIC.

The program describes the contents and function of each of the following fields.