HD Reorganization Reload utility (DFSURGL0)

You use the HD Reorganization Reload utility to reload hierarchic direct (HD) databases.

You can use the HD Reorganization Reload utility to reload the following types of databases:
  • HDAM, HIDAM, PHDAM, PHIDAM, PSINDEX, or SHISAM databases
  • HISAM databases that use logical relationships or secondary indexes
  • HISAM databases without segment/edit compression that are being converted to HISAM databases with segment/edit compression

The following figure shows the input to and output from the HD Reorganization Reload utility.

Figure 1. HD Reorganization Reload utility (DFSURGL0)
DFSURGL0 input: IMS.DBDLIB or IMS catalog directory, unloaded database or partition (DASD or tape), DFSURCDS control data set. Output: output messages, statistics, reorganized SHISAM, HDAM, HIDAM, PHDAM, or PHIDAM database.

If logical relationships or secondary indexes exist in the database being reloaded, the DFSURCDS control data set created by the Prereorganization utility is used as one input to the HD Reorganization Reload utility. The DFSURCDS control data set contains information needed to resolve secondary index or logical relationship pointers.

When logical relationships or secondary indexes exist, the HD Reorganization Reload utility produces as output the DFSURWF1 work data set. DFSURCDS identifies the information that is collected on DFSURWF1.

The DFSURWF1 work data set becomes input to the Database Prefix Resolution utility. In the preceding figure note that, if the database being reloaded has a primary index, it is reloaded automatically when the main database is reloaded. A HIDAM index database can also be reorganized as a separate operation using the HISAM unload and reload utilities.

Exception: DFSURWF1 is not used for HALDB databases.