>>-+--------+--------------------------------------------------><
'-DELete-'
DELETE specifies that for a data set
copy DFSMSdss deletes VSAM
and non-VSAM data sets from the source volume after a successful copy.
This moves, in effect, a data set from one volume to another. The
data sets are scratched and uncataloged.
Note: - Specify DELETE when you are copying cataloged data
sets. If you do not specify DELETE when you are copying cataloged
data sets, the target data set must either be cataloged in a different
catalog (using the RECATALOG keyword) or
renamed (using the RENAMEU keyword).
- If you copy a data
set with DFM attributes to a non-SMS-managed
target, the new data set will not have the DFM attributes.
- Unexpired source
data sets are deleted
only if you also specify PURGE.
- Even if PROCESS (SYS1) is
specified, SYS1.VVDS and SYS1.VTOCIX
data sets cannot be copied and deleted.
- Do not specify SHARE
if you specify DELETE.
- If DFSMSdss encounters a damaged PDS
during logical data set copy,
it displays messages indicating the nature and relative location of
the problem. In order to maintain complete data integrity, DFSMSdss
does not delete the source data set. The copy of the data set fails,
and the target is deleted. In order to copy and delete a damaged PDS,
use the NOPACKING keyword.
- Do not specify DELETE with CONCURRENT,
because after the concurrent
copy operation has begun, the original data can still be updated.
- Do not specify DELETE with CICSVRBACKUP.
- Specify DELETE
to preserve aliases that are associated with non-VSAM
data sets. The following criteria must be met for this to work:
- RENAMEU cannot be specified at the same time.
- The data set must be SMS-managed and remain SMS-managed during
the copy operation.
- For physical data set copy processing,
only a single-volume
non-VSAM data set may be deleted from a volume that is not a dump
conditioned volume. If the DELETE keyword is specified and the input
volume specified on the PHYSINDD keyword is a dump conditioned volume,
then the DELETE keyword will be ignored while processing all data
sets from that volume. If the DELETE keyword is specified and the
target data set is single volume and the target volume is SMS managed
and the target is not preallocated, the target data set will be cataloged.
- If the data set being processed is a generation
data set (GDS), an exclusive enqueue on the GDG BASE is required in
addition to the exclusive enqueue on the GDS.
For more information about copying non-VSAM data sets
that have
aliases, see Moving data sets with special requirements.