DD OUTLIM Parameter


The OUTLIM parameter is used to set the maximum number of logical records that can be written to an SYSOUT dataset. If OUTLIM value is exceeded during the job execution, the job will be terminated with an error message indicating that the output limit has been exceeded.

It prevents the job from producing too much output and overflow to the output dataset. OUTLIM is valid only on a DD statement with an SYSOUT statement.

Syntax -

OUTLIM=maximum_lines
maximum_lines Specifies the number of logical records.
The value from 1 through 16777215.

Default and overrides -

If no OUTLIM parameter is specified or OUTLIM=0 is coded, JES3 uses an installation default.

Note! OUTLIM is valid only on a DD statement with an SYSOUT parameter.

Examples -


Scenario - Limit for the number of logical records is 700.

//OUTPUT  DD  SYSOUT=P,OUTLIM=700