Changing the name of a HALDB partition
You can change the name of HALDB partition by deleting the partition and redefining it with a new name.
However, deleting and redefining a partition has a number of consequences that you should be aware of:
- The partition ID number changes.
- The image copy records for the partition are deleted from the RECON data sets.
- The ALLOC records for the partition are deleted from the RECON data sets.
Note: Using the online change function, a HALDB partition name
that has been deleted from the RECON data set cannot be reused by
the online change function to name a database without also performing
a cold start of IMS. The opposite
is also true: a database name that has been deleted from IMS cannot be reused to name a HALDB partition
without also performing a cold start.
To change the name of a HALDB partition:
- Take the partition offline by issuing either the
/DBRECOVERY DB partition_name
command or theUPDATE DB NAME(partition_name) STOP(ACCESS)
command. - Unload the partition.
- Delete the partition definition from the RECON data set.
- Redefine the partition in the RECON data set with the new name.
- Initialize the partition.
- Reload the partition.
-
Make the partition available by issuing the
/START DB partition_name
command or theUPDATE DB NAME(partition_name) START(ACCESS)
command.
After you complete the name change process, when IMS rebuilds the online partition structures for the HALDB database it issues message DFS0415W with reason code 90 for the deleted partition.