Renaming a Data Set [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation
DBChange Plus User's Guide
Renaming a Data Set
To give a new name to a data set, use the RENAME SET command. In this
section, the detail data set SALES in the ORDERS database is renamed.
Before renaming the data set, the REVIEW SETS command output looks like
this:
Set Blk Blk Dev
No. Data Set Name Type Capacity Fac Max Class Security
--------------------------------------------------------------
7 SALES D 500 10 1024 DISK2 (11/14,18) <---- *
*data set to be renamed
In the following example, the data set SALES is renamed to LOCAL-SALES.
The DBCPLUS program displays a message confirming that the data set is
renamed.
>rename set sales local-sales
Rename of data set accepted.
>
Refer to "RENAME SET" in chapter 10, "DBChange Plus Commands," for a
detailed description of the command syntax and parameters.
If you want to verify that the SALES data set has been renamed, use the
REVIEW SETS command. You can see that the new data set name is
LOCAL-SALES.
>review sets local-sales
REVIEW SETS:
Set Blk Blk Dev
No. Data Set Name Type Capacity Fac Max Class Security
--------------------------------------------------------------
7 LOCAL-SALES D 500 10 1024 DISK2 (11/14,18) <---- *
*data set renamed
MPE/iX 5.0 Documentation