Disabling a partition removes it from an active HALDB database
while retaining all of the partition records in the RECON data set.
Disabled partitions can be enabled later.
To disable a HALDB partition:
Procedure
- Take an image copy of the partition that you intend to
disable and any partitions into which records will be moved from the
disabled partition.
- Stop access to the partition you are disabling and the
other affected partitions by issuing either the
/DBRECOVERY
DB partition_name command or the UPDATE
DB NAME(partition_name) STOP(ACCESS) command.
- Unload the partition you are disabling and the other affected
partitions.
- Disable 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) DISABLE
- If the HALDB database uses high-key partitioning, ensure
that the high key values defined to DBRC for each partition are still
appropriate.
- Initialize the remaining partitions affected by the change.
- Reload the remaining partitions affected by the change.
- Take an image copy of the reloaded data sets. The image
copy needed flag is set for the data sets in the partitions that are
initialized or loaded by the HD Reorganization Reload utility (DFSURGL0).
- Issue the
/START DB partition_name command
or the UPDATE DB NAME(partition_name)
START(ACCESS) command to make the affected partitions available
again.