Specifying indexes to be verified or resynchronized
Use the IX subcommand with the VERIFY command or the RESYNC command to specify which indexes are to be verified or resynchronized.
At least one IX subcommand is required. By default, all indexes that are registered to the primary DEDB are verified or resynchronized. The example in the following figure shows how to use one IX subcommand to verify all indexes for the primary DEDB.
IX
The following example shows how to use one IX subcommand to resynchronize all indexes for the primary DEDB.
IX
Using the INDEX keyword or &INDEX
You can use the INDEX keyword to specify a single index or multiple indexes to be verified or resynchronized.
Use one IX subcommand with the INDEX keyword for each index to be verified or resynchronized. The following example shows how to verify an individual index for the primary DEDB.
Verifying an individual index for the primary DEDB
IX INDEX=<index1>
The following example shows how to resynchronize an individual index for the primary DEDB.
Resynchronizing an individual index for the primary DEDB
IX INDEX=<index1>
You can also use the &INDEX substitution parameter to specify unique data set names for multiple indexes to be verified or resynchronized. The substituted value for &INDEX is the name of the index being processed by Fast Path Indexer/EP when the mask of &INDEX is used with the DSNAME keyword on the IX subcommand.
Since the INDEX keyword is not specified, all indexes that are defined for the database are processed. The following example shows how to verify multiple secondary index databases for a database by using the &INDEX parameter.
IX DSNAME='LJB.&DBD.&INDEX.XSCAN',DISP=SHR
The following example shows how to resynchronize multiple secondary index databases for a database by using the &INDEX parameter.
IX DSNAME='LJB.&DBD.&INDEX.XSCAN',DISP=SHR
Using DDNAME or DSNAME
Either the DDNAME or the DSNAME keyword must also be specified on the IX subcommand to specify where the XSCAN index information records are read.
For more information about using the DDNAME keyword or the DSNAME keyword to process the XSCAN data set, see Processing-the-XSCAN-data-set.
Related topic