DISPOLDDS control statement
Specifies the disposition of original data sets after successful reorganization.
This control statement is optional. The default is DISPOLDDS=TEMPNAME.
- 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.
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.