Parameter 3

 

The third parameter that is passed to the user label program, Parameter 3, consists of positions 1 - 244.

Positions 1- 80

Current volume label

Positions 81-160

The last processed HDR1 or TRL1 label

Positions 161-240

The last processed HDR2 or TRL2 label

Positions 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.

 

Parent topic:

User label processing