Changing an existing Catalog Entry
- Perform either of these actions:
- In the Catalog Services panel, type a fully qualified data set
name (and optionally the catalog name) for the existing entry,
then enter
A
on the Command line. - From the Catalog Services panel, display a list of data set names.
To rename a VSAM data set (CLUSTER and its corresponding components), enter REN(ame) in the line command field adjacent to the entry you want to change. File Manager displays the VSAM Entry Rename panel for the data type of your data set is displayed, showing the data set information that can be changed. The component names of a VSAM CLUSTER are adjusted automatically based on the newly entered data set name. If a finer degree of control over the component names is required, then the ALTER command may be used to adjust component names manually. To change any additional VSAM parameters, use the ALTER command.
- In the Catalog Services panel, type a fully qualified data set
name (and optionally the catalog name) for the existing entry,
then enter
- In the Data Set List panel, enter
A
in the line command field adjacent to the entry you want to view.An Entry Details panel for the data type of your data set is displayed, showing the catalog information that can be altered in editable fields. For example, if your data set is a VSAM KSDS file, the VSAM Entry Details panel is displayed.
- Alter any of the parameters to suit your requirements.
- For VSAM data sets, if you alter the data set name and want the
component names to match your new name, blank out the component name
or names listed under the Basic Information heading. File Manager
generates new component names based upon the following ASM rules:
- IF the last qualifier of the Entry data set name is CLUSTER, it
replaces the last qualifier with DATA for the data component and INDEX
for the index component. For example:
Cluster name: SALES.REGION2.CLUSTER Generated data name = SALES.REGION2.DATA Generated index name = SALES.REGION2.INDEX
- ELSE if the cluster name is less than or equal to 38 characters,
then append .DATA to the end of the cluster name for the data component
and .INDEX for the index component. For example:
Cluster name: DEPT64.ASSET.INFO Generated data name = DEPT64.ASSET.INFO.DATA Generated index name = DEPT64.ASSET.INFO.INDEX
- ELSE if the cluster name is between 39 and 42 characters inclusive,
then append .D to the end of the cluster name for the data component
and .I for the index component.
Cluster name: DEPTABCD.RESOURCE.REGION66.DATA1234.STUFF Generated data name = DEPTABCD.RESOURCE.REGION66.DATA1234.STUFF.D Generated index name = DEPTABCD.RESOURCE.REGION66.DATA1234.STUFF.I
- ELSE if the name is longer than 42 characters, and
the last qualifier is not CLUSTER, use the first (N-1) qualifiers
of the cluster, alternate index, or user catalog name up to the first
four qualifiers, and append as many 8-character qualifiers as necessary
to produce a 5-qualifier name. For example:
Cluster name: DIV012.GROUP16.DEPT98.DAILYLOG.DEC1988.BACK Generated data name = DIV012.GROUP16.DEPT98.DAILYLOG.TY7RESNO Generated index name = DIV012.GROUP16.DEPT98.DAILYLOG.YIIQHNTR
After a name is generated, AMS searches the catalog to ensure that the name is unique. If a duplicate name is found, AMS continues generating new names using the format outlined in 4.d until a unique one is produced.
- IF the last qualifier of the Entry data set name is CLUSTER, it
replaces the last qualifier with DATA for the data component and INDEX
for the index component. For example:
- Press Enter to process your request.
Related topics