Delete/define (DR)


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 VSAM-Utility-3-5-Delete-data-set-D. 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

image2021-5-27_11-10-27.png

For online processing, the message CLUSTER DELETED/DEFINED is displayed on the VSAM Utility screen when processing is complete.

For batch 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.

Warning

All data is lost.

Related topics

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*