Example 5. DBX exists, DBY is to be added
In example 5, DBX must be reorganized to add the logical child pointers in the segment A prefix.
Example 5 is shown in the following figure.

Procedure
Procedure
- Determine whether the change you are making affects the code in any application programs. If the code is affected, make sure it gets changed.
- Unload DBX, using the existing DBD and the HD Unload utility.
- Code a new DBD for DBX and DBY.
- If the change you are making affected the code in application programs, make any necessary changes to the PSBs for these application programs. If you have the DB/DC Data Dictionary, it can help you determine which application programs and PCBs are affected by the DBD changes you have made.
- Rebuild the ACB if you have ACBs prebuilt rather than built dynamically.
- Recalculate database space for DBX, and calculate space for DBY.
- For non-VSAM data sets, delete the old database space and define new database space. For VSAM data sets, delete the space allocated for the old clusters and define space for the new clusters.
- Run the Prereorganization utility, specifying DBR in the control statement for DBX, and DBIL in the control statement for DBY.
- Reload DBX, using the new DBD and the HD Reload utility.
- Load DBY, using an initial load program.
- Run the Prefix Resolution utility, using the DFSURWF1 work files that are output from Steps 9 and 10 as input.
- Run the Prefix Update utility, using the DFSURWF3 work file that is output from Step 11 as input.
- Remember to make an image copy of both databases as soon as they are loaded.