Interface to the exit
The exit is invoked in task mode, problem state, and key 8; the task is APF-authorized. The exit must restore this state before returning to its caller.
Control is passed to the exit using the BAL instruction. The exit must return to the caller using the address and addressing mode passed to it in general register 14.
When the exit is entered, register 1 contains the address of the parameter list. Each address in this list is used to locate the parameter value. These parameters are passed to the exit:
EQQUXGDG parameters
PJOBNAM DS CL8 (job name) PSTEPNUM DS CL3 (step number) PSTEPNAM DS CL8 (step name) PPROCSTE DS CL8 (proc step name) PDDNAME DS CL8 (DD name) PROOT DS CL35 (GDG root) PABSOLUT DS CL8 (GDG absolute value) PSIGN DS CL1 (GDG relative number sign) PRELNUM DS CL7 (GDG relative number) PRETCODE DS F (return code)
- PJOBNAM
- The job name of the JCL that is going to be run.
- PSTEPNUM
- The step number (expressed in character format) where the GDG data set to be overwritten is located.
- PSTEPNAM
- The step name where the GDG data set to be overwritten is located.
- PPROCSTE
- The proc step name where the GDG data set to be overwritten is located.
- PDDNAME
- The DD name where the GDG data set to be overwritten is located.
- PROOT
- The GDG Root o f the GDG data set that is going to be overwritten.
- PABSOLUT
- The absolute value (GnnnnVnn) that is going to be used to overwrite the input GDG data set.
- PSIGN
- The sign (+ or – or blank) of the relative number of the GDG data set to be overwritten.
- PRELNUM
- The relative number (expressed in character format) of the GDG data set to be overwritten.
- PRETCOD
- The return code set by the exit: 0 means execute the overwriting, 4 do not execute overwriting.