Renaming or deleting a compatibility mode aggregate
To rename a compatibility mode aggregate, use the IDCAMS ALTER command with the NEWNAME parameter. You cannot rename an aggregate if it is mounted.
After the rename is done, the name of the file system stored in the zFS aggregate will not match the aggregate name. This is a requirement for compatibility mode zFS aggregates. To reconcile the file system and aggregate name, the zFS file system must be mounted initially as read/write after the IDCAMS RENAME is complete. This allows zFS to reconcile the file system name with the new aggregate name. After the name is reconciled, the aggregate can then be mounted read-only.
The example in Figure 1 assumes that:
- The data component name is the same as the cluster name with DATA appended
- You want to rename both the cluster name and the data component name.
To
delete a compatibility mode aggregate, use the IDCAMS utility DELETE
command. You cannot delete an aggregate if it is mounted. Figure 2 shows a sample job that deletes both
the cluster name and the data component.
See z/OS DFSMS Access Method Services Commands for information and restrictions on IDCAMS ALTER NEWNAME and DELETE.