Previous Topic: SyntaxNext Topic: INSERTED


Parameters

INLIM supports the following parameter:

number

Any integer value between 0 and 999,999,999. The default value, 0, sets no limit on how many records are read before terminating the command.

Example

This example syntax terminates the COPY command after it processes the 99th record. Out of the first 99 records, only the records whose RECORD-TYPE field contain a C'Z' is copied. PRINT processing begins with the 100th record of SYSUT1.

COPY,
  INLIM(99),
  LAYOUTFILE(LAYOUT),
  INFILE(,NOCLOSE),
  SELRECIF(RECORD-TYPE,EQ,C'Z')
PRINT