Previous Topic: ParametersNext Topic: Syntax


PRINTLIM

The PRINTLIM keyword sets the maximum number of records that are written to the primary listing ddname, usually SYSLIST. You can use multiple PRINTLIM keywords within one command. PRINTLIMs that are used outside of the SELRECIF statement are considered a global limit. PRINTLIMs that are subordinate to a SELRECIF keyword are considered conditional limits. Each conditional limit is particular to the SELRECIF in which it is subordinate. Global limits pertain to the entire command.

As each PRINTLIM conditional limit is reached, no more records are written to SYSLIST for that PRINTLIM conditional limit. When all PRINTLIM conditional limits are reached, no more records are written to any listing ddname, except for any listing ddname associated with the global limit. When the PRINTLIM global limit is reached, the command is terminated.