Delete/Define
The Delete/Define function (option DR) deletes and enables you to reallocate the VSAM cluster and all its related objects. To delete and redefine a data set, enter a DR in the OPTION field and specify a cluster dataset name on the VSAM Utility screen. When you press Enter, File-AID displays the VSAM Confirm Dataset Delete screen shown in Delete-dataset. The VSAM Confirm Dataset Delete screen shows the names of all objects related to the data set to be deleted.
When you press Enter again, File-AID displays the Confirm Dataset Define screen, as shown in the following figure. All clusters related to the entered data set are displayed. The only modifiable field is Volume. It can be modified to allow reallocation to a new device (except for multi-volume data sets).
If the data set is multi-volume, File-AID again displays the MULTI-VOLUME DATASET message in the upper-right hand corner of the screen and the Volume field cannot be modified.
Confirm Dataset Define screen
COMMAND ===>
The VSAM dataset and all related objects have been deleted
Dataset name: USERID9.FASAMP.NEWONE
The following objects will be re-allocated Key
Offset/
Object Type Object Name Volume Length
--------------- ---------------------------------------------- ------ -------
KSDS Cluster USERID9.FASAMP.NEWONE 0 5
Data USERID9.FASAMP.NEWONE.DATA PRD928
Index USERID9.FASAMP.NEWONE.INDEX PRD928
Objects related to the above cluster follow
Use ENTER to confirm define, END to cancel define
For online processing, the message CLUSTER DELETED/DEFINED is displayed on the VSAM Utility screen when processing is complete.
For batch and IDCAMS processing, JCL is generated to delete the specified data set and all its related objects. The define process is limited to KSDS, ESDS, RRDS, and LINEAR (LDS) data sets and alternate indices and paths.
Related topics