Using IMS utilities with HALDB Online Reorganization

The IMS utilities Batch Backout (DFSBBO00), Database Change Accumulation (DFSUCUM0), Database Image Copy (DFSUDMP0), Database Recovery (DFSURDB0), and Primary Index and ILDS Rebuild (DFSPREC0) have special considerations when used with HALDB Online Reorganization.

Batch Backout (DFSBBO00)
If dynamic backout fails for a unit or reorganization, IMS creates a backout record in the RECON data sets that contains the dynamic PSB name. Run the Batch Backout utility (DFSBBO00) for the listed PSB name.

If dynamic backout was not attempted, use the Log Recovery utility (DFSULTR0) with the PSB option to list those PSBs that require backout. If there is in-flight online reorganization work for a HALDB partition that requires backout, the Log Recovery utility lists the dynamic PSB name. Run the Batch Backout utility (DFSBBO00) for each of the listed PSB names.

Database Change Accumulation (DFSUCUM0)
You can use the Database Change Accumulation utility (DFSUCUM0) to accumulate changes for HALDB partition A-through-J data sets and for the M-through-V data sets. You need to specify the DB0 control statement so that the Database Change Accumulation utility accumulates changes or purges changes from before the online reorganization started.

The Database Change Accumulation utility might create Database Change Accumulation header records (type X'25' records) for a corresponding A-through-J and M-through-V data set if the online reorganization checkpoint is not complete at the start of the database change accumulation.

Database Image Copy (DFSUDMP0)
You can use the Database Image Copy utility (DFSUDMP0) to copy the currently active data set that is recorded in the RECON data sets. The Database Image Copy utility also determines if it should copy the M-through-V data sets or the A-through-J data sets. However, if a partition is in the cursor-active status, you cannot run the Database Image Copy utility for that partition.

It is not necessary to code a DD statement in the JCL when copying HALDB partition data sets, because they are dynamically allocated.

Database Recovery (DFSURDB0)
The Database Recovery utility (DFSURDB0) expects the utility output data sets to exist, and makes no attempt to create them.
Primary Index and ILDS Rebuild (DFSPREC0)
You can use the HALDB Index/ILDS Rebuild utility (DFSPREC0) to recover the primary index data set for both the input and output data sets. You can also use the HALDB Index/ILDS Rebuild utility to recover both the X and Y primary index data sets and the ILDS in a single run. You cannot specify a particular input or output data set, but if the partition is in the cursor-active status, the utility allocates and rebuilds all of the necessary data sets.