Virtual image copies and the Index Rebuild function
The Index Rebuild function can rebuild primary and secondary indexes from the source database if those indexes are ever destroyed or damaged.
Because the indexes are rebuilt instead of recovered, you do not need to maintain physical image copies of them. Instead, you can create virtual image copies during the Incremental Image Copy (IIC) function.
The IIC function is valid only if you have the BMC Image Copy utility, which is available with the BMC AMI Backup and Recovery for IMS product and the IMAGE COPY PLUS product. To use the Index Rebuild function with the IIC function, you must have a product that includes the function. For more information, see Index-Rebuild-function.
Considerations
To use the Index Rebuild function during the IIC function, DBRC must be active, and you must complete the following actions:
- Include the VIC(Y) and SIUDSN(dsname) keywords on a valid control statement or in the global options module.
- Use dynamic allocation members for the data set groups, or provide data set group DD statements.
The following figure shows example JCL for using the IIC function with virtual image copies.
GLBL DBRC(Y) VIC(Y) -
SIUDSN(BMC.SIUDUMMY.DSN)
GROUP CAGRP(cagrp1) FUNC(CA) LOG(*) ACCUM(*) -
CA(*) CAPREF(BMC.ACCUM)
IIC DBD(DBD1) DDN(DDN1) DUMP(*) IC(*) PCP(Y)
/*
Related topic