An alternate index is an individual VSAM data set, maintained by VSAM, which contains information and keys to the base cluster VSAM data set to which the index applies. It can be regarded as providing the user with a different view of the data within the base cluster. As changes are made to records on the base cluster, VSAM (provided that the correct options are defined) automatically updates the alternate indexes associated with the cluster.
VSAM relates an alternate index to its target base cluster with a definition known as a path. It is this path which NCL uses to retrieve data using keys from the alternate index.
A given base cluster can have many alternate indices, depending on the complexity of the record formats maintained on the UDB and the number of different ways those records are to be accessed.
The process to establish a new base cluster with an alternate index is:
This cannot be done for an empty base cluster.
Add DD statements to the system JCL for both the base cluster and the path (but not the alternate index).
Notes:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |