RETPD


Specify RETPD to set a retention period (in days) for certain data sets that you are dynamically allocating.

RETPD.png

This option applies to the following data sets:

  • Copy data sets
  • SYSDISC data sets
  • SYSERR data sets
  • SYSMAP data sets

LOADPLUS ignores this option for any other data sets.

The value of the integer must be in the range 0 through 9999.

Additional considerations

The following considerations apply to the RETPD option:

  • If DELETEFILES YES is in effect, LOADPLUS deletes your SYSERR data sets only if RETPD is 0 or blank.
  • If DELETEFILES YES SYSDISC YES is in effect and you have no discarded records, LOADPLUS deletes your SYSDISC data set only if RETPD is 0 or blank.
  • When invoking DSNUTILB, LOADPLUS includes this information in the TEMPLATE control statement that it builds for the IBM Db2 LOAD utility. For more information about TEMPLATE control statements, see the documentation for the Db2 LOAD utility.

Specifying the default

You can specify the default for the RETPD command option in your installation options module by using the RETPD installation option. LOADPLUS was shipped without a value for this option. The RETPD command option overrides the default that is in the installation options module for both the RETPD and EXPDT installation options. However, if you specify the EXPDT command option, it takes precedence over the RETPD command option.


 

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