Invoking EQQEXIT in JES exits

In JES exits, EQQEXIT must be invoked in Supervisor state, PSW key 1. EQQEXIT expects code addressability to be already established. It also expects registers to be set up as follows:
  • EXIT7
    R0
    JCT read/write indicator (JES2 SP Version 3, or earlier); address of a parameter list mapped by the JES2 $XPL macro (JES2 SP Version 4, or later).
    R1
    Address of the JCT being read or written.
    R13
    Address of the current PCE.
  • EXIT51
    R1
    Address of a parameter list mapped by the JES2 $XPL macro.
  • IATUX19
    R8
    Address of the current JDS entry.
    R9
    Address of the current RESQUEUE entry.
    R11
    Address of the current FCT entry.
    R12
    Address of the TVTABLE entry.
  • IATUX29
    R11
    Address of the current FCT entry.
    R13
    Address of the input-service data area for the current function.
Note that these register conventions are already set up when the exit is called. You must invoke EQQEXIT while these registers are unchanged.

If a shipped JES exit example (or the EQQEXIT macro) has been user–modified, make sure that it does not prevent or filter the tracking of HCL Workload Automation for Z itself.

See the NOTES section of the EQQEXIT prolog for information about the register contents that are destroyed by EQQEXIT in JES exits.