Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see LOADPLUS for DB2 13.1.

DELETEFILES


The DELETEFILES option tells LOADPLUS whether to delete the SORTOUT, SORTWK, SYSUT1, and SYSERR files after the load completes successfully.

DELETEFILES.png

LOADPLUS was shipped with a default value of YES for this option. You can override that default by using the DELFILES installation option. For more information, see Descriptions of basic installation options.

Important

If you are running in a worklist environment, LOADPLUS uses the DELFILES installation option differently. For more information, see Descriptions of basic installation options.

DELETEFILES NO

DELETEFILES NO tells LOADPLUS not to delete any SORTOUT, SORTWK, SYSUT1, or SYSERR files.

Important

If your work files are defined with DISP=(any,DELETE,DELETE), LOADPLUS deletes these work files after the load completes even if you specify DELETEFILES NO.

DELETEFILES YES

DELETEFILES YES tells LOADPLUS to delete all corresponding SORTOUT, SORTWK, SYSUT1, and SYSERR files after the load completes successfully, regardless of any of the following factors:

  • The JCL disposition of these files
  • Whether the files were used

LOADPLUS deletes all physical sequential data sets whose ddnames match the SORTOUT, SORTWK, SYSUT1, and SYSERR names or ddname prefixes. This occurs after either the LOAD phase or the COMBINED phase completes successfully.

If the work files are on tape, you can use the TAPEDISP installation option to specify the final disposition of the work files.

Additional considerations

The following considerations apply to DELETEFILES YES:

  • For a DSNUTILB load, SYSERR data sets are not deleted.
  • If you also specify a value for the RETPD or EXPDT option for your dynamically allocated SYSERR data set, LOADPLUS deletes your SYSERR data set only if the expiration date is earlier than the current date, or if the value for RETPD is 0 or blank.
  • If the SYSERR data set is allocated as a GDG data set, LOADPLUS deletes only the generation that was created during the current job.

Using DELETEFILES with SmartSwitch and the BMC AMI Utilities

The value defined for DELETEFILES will always override the value defined for the BMC AMI Utilities +DELETEOUTPUT option.

SYSDISC

This option tells LOADPLUS whether to delete the SYSDISC file after the load completes successfully.

Specifying the default

You can specify the default for the SYSDISC command option in your installation options module by using the second parameter of the DELFILES installation option. LOADPLUS was shipped with a default value of NO for this option. The command option overrides the default that is in the installation options module. However, if you are running in a worklist environment, LOADPLUS uses the DELFILES installation option differently.

Value

Description

NO

SYSDISC NO tells LOADPLUS not to delete the SYSDISC file automatically, even if it does not contain any discarded records.

Note: If SYSDISC is defined with DISP=(any,DELETE,DELETE), LOADPLUS deletes these data sets after the load completes even if you specify SYSDISC NO.

YES

SYSDISC YES tells LOADPLUS to delete the SYSDISC file if it does not contain any discarded records.

Additional considerations

The following considerations apply to SYSDISC YES:

  • For a DSNUTILB load, LOADPLUS ignores this option.
  • If you also specify a value for the RETPD or EXPDT option for your dynamically allocated SYSDISC data set, LOADPLUS deletes your SYSDISC data set only if the expiration date is earlier than the current date, or if the value for RETPD is 0 or blank.
  • If the SYSDISC data set is allocated as a GDG data set, LOADPLUS deletes only the generation that was created during the current job.

 

 

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