Passing data to I/O exits from the assembler source

You can use the EXITCTL instruction to pass data from the assembler source to any of the exits. The assembler maintains four signed, fullword, exit-control parameters for each type of exit. You use the EXITCTL instruction to set or modify the contents of the four fullwords during the assembly, by specifying the following values in the operand fields:
  • A decimal self-defining term with a value in the range -231 to +231-1.
  • An expression in the form *+ or -n, where * is the current value of the corresponding exit-control parameter to which n, a decimal self-defining term, is added or from which n is subtracted. The value of the result of adding n to or subtracting n from the current exit-control parameter value must be in the range -231 to +231-1.

If a value is omitted, the corresponding exit-control parameter retains its current value.

The assembler initializes all exit-control parameters to binary zeros.