6.103 MAXDISCARDRECS

Valid For

Extract and Replicat

Description

Use the MAXDISCARDRECS parameter to limit the number of errors that are reported to the discard file per MAP statement.

Use this parameter for the following reasons:

  • When you expect a large number of errors but do not want them reported.

  • To manage the size of the discard file.

More than one instance of MAXDISCARDRECS can be used in a parameter file to specify different maximums for different sets of MAP statements. An instance of MAXDISCARDRECS applies to all subsequent MAP statements until the next instance of MAXDISCARDRECS is encountered. The minimum is 0.

Default

None

Syntax

MAXDISCARDRECS number
number

The maximum number of errors to report.

Example

MAXDISCARDRECS 1000