Converting a logical parent concatenated key from virtual to physical or physical to virtual

You can convert a logical parent concatenated key from virtual to physical or from physical to virtual by using DBDGEN and the HD reorganization utilities.

To convert a logical parent concatenated key from virtual to physical or from physical to virtual:

Procedure

  1. Unload your database, using the existing DBD.
  2. Code a new DBD, changing the concatenated key physical/virtual specification.
  3. If you use prebuilt ACBs rather than dynamically built ACBs, rebuild the ACB.
  4. Recalculate the database space. You need to do this because the change you are making changes database space requirements.
  5. 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.
  6. If your database uses logical relationships or secondary indexes, you must run reorganization utilities before and after reloading to resolve prefix information.
  7. Reload your database using the new DBD. Remember to make an image copy of your database as soon as it is reloaded.
  8. If required, run reorganization utilities to resolve prefix information.