Location in the JCL

Place modifying OUTPUT JCL and DD statements in the following order, after the EXEC statement that calls the procedure:
  • For each procedure step in the invoked procedure:
    1. Overriding statements can appear in any order when they explicitly specify the step that is being overridden. Added statements can appear in any order when they specify the step explicitly.
    2. Overriding and added statements that do not explicitly specify the step are applied to the step named in the previous overriding or added OUTPUT JCL or DD statement. If no previous override statement named a step, then they are applied to the first step in the procedure.
  • For all procedure steps in the invoked procedure, place the modifying statements for each procedure step in the same order in which the procedure steps are specified.