Parameter 2

Read this section to understand parameter 2 that is passed to the user label program.

Position 1
End-of-labels indication

Parameter 2 contains a character 0 or 1, that indicates whether the label read is the last label read. For output files, the user label program sets the value. For input files, the system sets the value.

  • 0 indicates that Parameter 1 contains a label.
  • 1 indicates that Parameter 1 does not contain a label. There are no labels to process.
Figure 1. Tape with user labels
This graphic contains a
tape file. The beginning of the tape contains the following labels: VOL, HDR1,
HDR2, UHL1, UHL2, TM, Data. The end of the tape contains the following labels:
TM, TRL1, TRL2, UTL1, UTL2, TM and TM.