Changing the randomizing module or the randomization parameters of a PHDAM partition

You can store the specifications for PHDAM randomizing modules in two places: the DBD for the HALDB database and the record for each partition in the RECON data set.

The specifications in the DBD apply to all of the partitions in the HALDB database. The specifications in a partition record in the RECON data set apply only to that partition and override the specifications in the DBD.

To change a randomizing module or randomization parameters of a PHDAM partition:

Procedure

  1. Back up the current randomization specifications by issuing the DBRC command LIST.DB DBD(partition_name) against the partition and saving the output.
  2. Stop access to the partition by issuing either the type-1 command /DBRECOVERY or the type-2 command UPDATE DB NAME(partition_name) STOP(ACCESS) against the partition. All other partitions in the database can remain available.
  3. Unload the partition.
  4. If you are modifying the randomization parameters, modify them by using either the Partition Definition utility or the DBRC command CHANGE.PART.
  5. If you are replacing the randomizing module, specify the name of the new randomizing module by using either the Partition Definition utility or the DBRC command CHANGE.PART DBD(name) PART(name) RANDOMZR(name).
  6. Initialize the partition by using either the HALDB Partition Data Set Initialization utility (DFSUPNT0) or the Database Prereorganization utility (DFSURPR0). The partition initialization needed (PINIT) flag is set for the partition after you change the parameters.
  7. Reload the partition.
  8. Restart the partition by issuing either the type-1 command /START DB or the type-2 command UPDATE DB NAME(partition_name) START(ACCESS).