Previous Topic: GVPATH Direct Processing SampleNext Topic: GVBLDIX Control Statements


Discontiguous Key Alternate Index

The discontiguous key alternate index is built over a CA VSAMAID TRENDS cluster. The discontiguous key is made up of a cluster's catalog name concatenated with the cluster's first data volume serial number. When the discontiguous key index is supplied, GVPATH returns all clusters (base records) that are on a specific volume serial number owned by a particular catalog. The sample contains the following discontiguous key:

CATALOG.USERC    MVS001
\bytes-/  \6 bytes/ for a total of a 19 byte key

The catalog name field must be 44 characters, but here it has not been padded with the necessary blanks. Also, CA VSAMAID can save up to five data volume serial numbers, but in this sample only the first data volume serial number is used.