Previous Topic: ParametersNext Topic: Syntax


OUTLIM

The OUTLIM keyword sets the maximum number of records that are written to 1) the default output file, usually SYSUT1O, or 2) the overridden default output file used with the OUTFILE keyword, or 3) the output file referenced by the WRITE keyword. You can use multiple OUTLIM keywords within one command. OUTLIMs that are used outside of a SELRECIF statement are considered a global limit. OUTLIMs that are subordinate to the SELRECIF keyword are considered conditional limits. Each conditional limit is particular to the SELRECIF or IF in which it is subordinate. Global limits refer to the entire command.

OUTLIM is not reinitialized to zero with each PDS member that it processes. As each OUTLIM conditional limit is reached, no more records are written to the associated output file for that particular OUTLIM conditional limit. When all OUTLIM conditional limits are reached, no more records are written to any output file, except for any output file associated with the global limit. When the OUTLIM global limit is reached, the command is terminated.

OUTLIM has a default value of zero, which means there is no limit to the number of records that are written to the associated output file.