IFDISCARDS
The IFDISCARDS option allows you to specify a user-defined return code that LOADPLUS uses upon successful completion of the load job when LOADPLUS discards one or more input records.
You can specify any integer from 0 through 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, access the messages section of the BMC Documentation Center from the BMC Support Central site (http://www.bmc.com/support).
Restriction
The following restrictions apply to the IFDISCARDS option:
- When invoking DSNUTILB, LOADPLUS ignores this option.
- If you also specify PRELOAD PAUSE, the IFDISCARDS value is not in effect for the paused job. If you restart the job and there are discard violations, LOADPLUS considers the IFDISCARDS value when determining the final return code. For information about specifying a user-defined return code for a PRELOAD PAUSE load job when there are discard violations, see PAUSE.
Specifying the default
You can specify the default for the IFDISCARDS command option in your installation options module by using the DISCARDRC installation option. LOADPLUS was shipped with a default value of 0 for this option. The command option overrides the default that is in the installation options module.
Related topic