The DELETE command is provided to eliminate one or all of the data set index records for a specific data set.
The DELETE data set index command syntax is:
DELETE DSNAME=,VERSION=,TIMEDATE=,PRIMARY2,ALL
The explicit name of a dataset to be deleted from the DSNINDEX.
To delete an older version of the data set contained in the FILES, specify -1 to -99 to indicate successively older versions of the dataset (-99 is the oldest version). By default, the most recent version of the dataset is deleted.
If more than one version of a data set is being deleted at a time, delete them in reverse order (that is, -3, -2, -1 rather than -1, -2, -3) to prevent the shifting of the relative version number as each is deleted.
This optional parameter specifies that only the PRIMARY2 data set index records are to be deleted. By default, only PRIMARY1 data set index records are deleted.
This optional parameter can be used to provide the specific time and date of the DSNINDEX entry to be deleted. The format is HHMMYYDDD or HHMMYYYYDDD.
The presence of this optional parameter causes all DSNINDEX records for all versions of the data set to be deleted.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|