Enabling HALDB partitions

Enabling a disabled partition makes it available for use by IMS again.

To enable a HALDB partition in conjunction with the unload and reload processes:

Procedure

  1. For all partitions that contain records that will be redistributed after the partition is enabled, issue either the /DBRECOVERY DB partition_name command or the UPDATE DB NAME(partition_name) STOP(ACCESS) command.
  2. Unload the offline partitions.
  3. Enable the partition by using one of the following methods:
    • The HALDB Partition Definition utility
    • The DBRC command CHANGE.PART DBD(HALDB_master_name) PART(partition_name) ENABLE

    DBRC marks all of the database data sets in the enabled partition as needing recovery.

  4. If the HALDB database uses high-key partitioning, ensure that the high key values defined to DBRC for each partition are appropriate.
  5. Allocate the data sets for the enabled partition and any other affected partitions.
  6. Initialize the offline partitions.
  7. Reload the partitions. The image copy needed flag is set for the data sets.
  8. Take an image copy of the reloaded partitions.
  9. Make the partitions available again by issuing either the /START DB partition_name command or the UPDATE DB NAME (partition_name) START(ACCESS) command.
  10. If the online IMS system does not immediately recognize the enabled partition, issue either a /START DB HALDB_Master OPEN or UPDATE DB NAME(HALDB_Master) OPTION(OPEN) command to rebuild all of the online partition structures of the HALDB database.