Example 9. DBY exists, DBZ is to be added
DBY must be reorganized. DBZ must be loaded using an initial load program. DBIL must be specified in the control statement for DBY. Do not specify DBR in the control statement for DBY.
Example 9 is shown in the following figure.

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 DBY, using the existing DBD and HD Unload utility.
- Code a new DBD for DBY and DBZ.
- 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 DBY and calculate space for DBZ.
- 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 DBIL in the control statements for DBY and DBZ.
- Reload DBY, using the new DBDs and the HD Reload utility.
- Load DBZ, 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.