Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
RENAME Statement z/OS DFSMSdfp Utilities SC23-6864-00 |
|||||||
The RENAME statement is used to change the true name or alias of a data set or member residing on a DASD volume. The name is changed only on the designated volumes. The rename operation does not update the catalog. A RENAME operation will not be processed if the data set or volume is being used by a program executing concurrently. When renaming a member of a partitioned data set, it is your responsibility to ensure that the data set is not currently in use. For multivolume data sets, all volumes specified must be online. If you do not code the MEMBER parameter, the entire data set is renamed. When renaming a data set managed by the Storage Management Subsystem (SMS), care must be taken to ensure that the device type and volumes list on the VOL parameter reflects the volume actually allocated to the data set. When you specify a volume when allocating an SMS-managed data set, SMS will not automatically allocate the data set on that volume. When renaming SMS-managed data sets, IEHPROGM will uncatalog the data set and recatalog the data set under the new name. If recataloging is necessary, but cannot be done (because of an alias), IEHPROGM will not rename the data set. The syntax of the RENAME statement is:
where:
|
Copyright IBM Corporation 1990, 2014
|