Changing operating system access methods

You can use the reorganization utilities to change access methods from OSAM to VSAM, or from VSAM to OSAM.

To change access methods:

Procedure

  1. Unload the database.
  2. Code a new DBD (unless you have already done this as described in Step 1).
  3. Delete the old data sets and define the new clusters when changing from non-VSAM to VSAM. Delete the old clusters and define new database data sets when changing from VSAM to non-VSAM.
  4. You need to change from OSAM options and buffers to VSAM options and buffers or vice versa.
  5. Reload your database, using the new DBD. Remember to make an image copy of your database as soon as it is reloaded.
  6. If your non-HALDB database uses logical relationships or secondary indexes, you must run reorganization utilities before and after loading the database to resolve prefix information.