HD Reorganization Reload utility (DFSURGL0)
You use the HD Reorganization Reload utility to reload hierarchic direct (HD) 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.

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.