Defaults
If you do not code an OUTPUT parameter on a sysout DD statement,
JES obtains processing options for the sysout data set in the following
order:
- From each OUTPUT JCL statement containing DEFAULT=YES in the same step.
- From each OUTPUT JCL statement containing DEFAULT=YES before the first EXEC statement in the job, provided that the step contains no OUTPUT JCL statements with DEFAULT=YES.
- Only from the sysout DD statement, provided that neither the step nor job contains any OUTPUT JCL statements with DEFAULT=YES.
If you do not specify a SYSOUT class on the DD statement, JES3 uses the truncation value associated with the first referenced (or defaulted) OUTPUT statement that does specify a class. If this DD statement specifies an OUTPUT class, JES3 accepts that class and its associated truncation value.