DISPOLDDS control statement

Specifies the disposition of original data sets after successful reorganization.

This control statement is optional. The default is DISPOLDDS=TEMPNAME.

Read syntax diagramSkip visual syntax diagramDISPOLDDS=TEMPNAMEDELETENEWSHADOW
If NAMESWAP=YES is specified, first, the old original data sets are renamed to temporary data set names. Then, the data sets are processed according to the DISPOLDDS parameter:
  • If DISPOLDDS=TEMPNAME, the old data sets remain with temporary names with suffix '.T'.
  • If DISPOLDDS=DELETE, the old data sets are deleted.
  • If DISPOLDDS=NEWSHADOW, the temporary data sets are renamed to shadow names with suffix '.Z'. If you want to change the suffix character, use the DYNALLOC control statement.
Note: If both SPACALLOC=YES and the DDEFPDS2 DD statement are specified, old data set name plus suffix '.T' is used for temporary data set names. The names defined in the DDEFPDS2 data set are used for shadow data sets. For details, see SPACEALLOC control statement.

DISPOLDDS=DELETE is allowed only when NAMESWAP=YES is specified. DISPOLDDS=TEMPNAME and DISPOLDDS=NEWSHADOW can be specified independent of NAMESWAP. If NAMESWAP=NO and DISPOLDDS=NEWSHADOW are specified, the Smart Reorg utility generates a sequence of IDCAMS commands for renaming temporary data set names to shadow data set names for use in manual name swapping.

The DISPOLDDS control statement is a functional replacement of the DELOLDDS control statement. The DISPOLDDS control statement and the DELOLDDS control statement are mutually exclusive. DISPOLDDS=TEMPNAME has the same meaning as DELOLDDS=NO, and DISPOLDDS=DELETE has the same meaning as DELOLDDS=YES.

Tip: You can change the default value of this control statement by creating an Installation Default Option Table (HPSCOPTI). For more information, see Setting installation default options.