IFDISCARDLIMIT


The IFDISCARDLIMIT option allows you to specify a user-defined return code that LOADPLUS uses when the number of discard violations reaches the discard limit that you specify with the DISCARDS option.
 

IFDISCARDLIMIT.png

You can specify any integer greater than 7.

LOADPLUS always ends with the highest return code assigned during the load job. For more information, see  Return code hierarchy in LOADPLUS. For information about return codes that LOADPLUS normally returns, see the Messages Library.

Restriction

When invoking DSNUTILB, LOADPLUS ignores this option.

Specifying the default

You can specify the default for the IFDISCARDLIMIT command option in your installation options module by using the DISCARDLIMRC installation option. LOADPLUS was shipped with a default value of 8 for this option. The command option overrides the default that is in the installation options module.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*