Modifying OUTPUT JCL and DD statements

OUTPUT JCL and DD statements that follow the calling EXEC statement
  • Override, nullify, or add parameters to OUTPUT JCL and DD statements in the procedure, or
  • Are added to the procedure.
These changes affect only the current execution of the job step; the procedure itself is not changed. When an OUTPUT JCL statement is modified, the sysout data set is processed according to the parameters as modified by the overriding statement.

In a procedure, to ensure that OUTPUT JCL and DD statements are overridden correctly by modifying statements, place the OUTPUT JCL statements before the DD statements in each step of the procedure.