Reorganizing a primary or secondary index

A HIDAM primary index and a secondary index of a HISAM, HDAM, or HIDAM database are reorganized in the same way.

To reorganize a HIDAM primary index or a HISAM, HDAM, or HIDAM secondary index perform the following steps.

Procedure

  1. Unload the index database using the HISAM Reorganization Unload utility.
  2. Any time you unload a data set, you should delete and reallocate the data set before reloading.
  3. Reload the index database using the HISAM Reorganization Reload utility. Make an image copy of your database as soon as it is reloaded.