Parameter 3

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

Position 1- 80
Current volume label
Position 81-160
The last processed HDR1 or TRL1 label.
Position 161-240
The last processed HDR2 or TRL2 label.
Position 241-242
User label number
  • Output files: The number of the next user label to be written in the current header or trailer group.
  • Input files: The total count of user labels read in the current header or trailer group.
Position 243
Open file option

The open file option field contains a character that indicates whether the file is open for input or for output.

  • I Indicates that the file is an input file.
  • O Indicates that the file is an output file.
Position 244
Expect labels

The expect labels field contains an integer indicating whether the call is returning or expecting labels from the user program.

  • 0 indicates that the user program is returning labels.
  • 1 indicates that the user program is expecting labels.