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
- 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.
- Unload the offline partitions.
- 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.
- If the HALDB database uses high-key partitioning, ensure
that the high key values defined to DBRC for each partition are appropriate.
- Allocate the data sets for the enabled partition and any
other affected partitions.
- Initialize the offline partitions.
- Reload the partitions. The image copy needed flag is set
for the data sets.
- Take an image copy of the reloaded partitions.
- Make the partitions available again by issuing either the
/START
DB partition_name
command or the UPDATE
DB NAME (partition_name) START(ACCESS)
command.
- 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.