The REBUILD INDEX utility reconstructs indexes or index partitions from the table that
they reference.
About this task
When you select the REBUILD INDEX utility, the Online Rebuild Index options
panel is displayed, as shown in the following figure:
Refer to the help panel for a detailed description of the fields on this panel.
Procedure
Set the Exception Rule field.
Set other fields on the panel as desired.
If you want index statistics to be collected during the REBUILD INDEX, configure the type of
statistics to be collected as follows:
Enter Y in the Gather Index Statistics
field.
Enter Y in the Update statistics field and press
Enter.
On the Rebuild Utility Column Statistics panel, follow the instructions in the topic Setting FREQVAL and HISTOGRAM options to complete configuring the statistics.
If you want to specify a FlashCopy® image copy
during the REBUILD INDEX, follow these steps:
Select the copy type in the FlashCopy Options field and enter Y in the Update FlashCopy Dataset Options field.
The FlashCopy Options panel is displayed. Set FlashCopy options as described in Updating data set options.
If you want to specify a FlashCopy image copy
during the REBUILD INDEX but use your own template data set, follow these steps:
Specify the template data set and member name in the Optional Template Dataset and
member name fields.
Select the copy type in the FlashCopy Options field and enter Y in the Update FlashCopy Dataset Options field.
When the TEMPLATEDD Name Selection panel is displayed, select a template name and press PF3 to return to this panel.