Rename component
The Rename component function (option R) can rename data sets of any access method when used online. This section, however, discusses only the renaming of VSAM datasets. When using this option for batch and IDCAMS processing only VSAM components can be renamed.
Enter an R in the OPTION field and specify the dataset name on the VSAM Utility screen. When you press Enter, File-AID displays the Rename VSAM Dataset screen shown in the following figure.
Rename VSAM Dataset screen
COMMAND ===>
Catalog name: CATALOG.VTSOI01
Cluster name: VSV.XX.YYY.TRANSID1 Type -
Data name: VSV.XX.YYY.TRANSID1.DATA CLUSTER
Index name: VSV.XX.YYY.TRANSID1.INDEX
Specify new cluster name below:
Cluster name ===> 'VSV.XX.YYY.TRANSID1.SINDX'
Do you wish to specify the Data and Index component names separately?
===> N (Y = Yes, N = No)
Field Descriptions
The Rename VSAM Dataset screen lists the catalog name, current cluster name, and the components.
Catalog name
Catalog name where cluster is cataloged.
Cluster name
Fully qualified name of the VSAM cluster.
Type
Type of data set being renamed.
Data name
Fully qualified data name.
Index name
Fully qualified index name.
Specify new cluster name below:
Cluster name
Specify the new name of the VSAM cluster.
Do you wish to specify the Data and Index component names separately?
Specify Y (Yes) or N (No). When Y (yes) is specified in this field, File-AID displays a second Rename Dataset screen which allows you to enter the new component names.
Press Enter to rename the data set, or use the END command (PF3) to cancel the rename process. When the rename is complete, File-AID displays the message: DATASET RENAMED in the upper-right corner of the VSAM Utility screen.
Related topics