IBM standard data set label 2 (HDR2/EOV2/EOF2)

The IBM® standard data set label 2 (HDR2/EOV2/TRL2) is 80 characters in length and the program uses it to identify additional information about the data set.

Table 1. Format of the IBM Standard Data Set Label 2 (HDR2/EOV2/EOF2)
Offset Data type Length Contents
0 Character 3 Label identifier
3 Character 1 Label number
4 Character 1 Record Format
5 Character 5 Block Length
10 Character 5 Record Length
15 Character 1 Tape Density/Format
16 Character 1 Data Set Position
17 Character 17 Job/Job Step Identification
34 Character 2 Tape Recording Technique
36 Character 1 Control Character
37 Character 1 Reserved
38 Character 1 Block Attribute
39 Character 3 Reserved
42 Character 5 Device Serial Number (not used)
47 Character 1 Checkpoint Data Set Identifier
48 Character 22 Reserved
70 Character 10 Large Block Length

The program records the data set label in EBCDIC.

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