Backup and recovery of HIDAM and PHIDAM primary indexes

The backup and recovery of HD primary indexes differs depending on whether the database is a HIDAM or a PHIDAM database.

You back up and recover HIDAM primary indexes in the same way as you do most other database data sets: by using image copies and database change records from the logs. Create image copies of the primary index data sets as often as you create image copies of the database data sets of the indexed HIDAM database. During recovery, after you restore the primary index from image copies, you apply the database change records from the logs by using the Database Recovery utility (DFSURDB0). If you do not create image copies of the primary index, your only recovery alternative is to rebuild the HIDAM primary index by using a separately priced index builder tool, such as the IBM® IMS Index Builder for z/OS®.

You do not back up or recover PHIDAM primary indexes. PHIDAM primary indexes are rebuilt after the recovery of the indexed database data sets by using the HALDB Index/ILDS Rebuild utility (DFSPREC0).