Location in the JCL

To ensure that the system uses the desired OUTPUT JCL statement, code all referenced OUTPUT JCL statements in the input stream before the DD statement that refers to them. For example, if the referencing DD statement appears in an in-stream or cataloged procedure, the referenced OUTPUT JCL statement should precede the DD statement in the procedure.

In a foreground TSO/E job, a DD statement containing TERM=TS and a SYSOUT parameter begins an in-stream data set.

When concatenating DD statements, the DD statement that contains TERM=TS must be the last DD statement in a job step.