Converting a database from HIDAM to HISAM
Converting a database from HIDAM to HISAM can be performed in a few steps; however, you need to perform a number of preliminary steps also.
You need to do the following before changing your DL/I access method from HIDAM to HISAM:
- Reassess your choice of logical record size. A logical record in HISAM can only contain segments from the same database record. In HIDAM, a logical record can contain segments from more than one database record.
- Reassess your choice of CI or block size. In HIDAM, your choice of CI or block size should be based on the characteristics of the device and the type of processing you plan to do. In HISAM, the size should be some multiple of the average size of a database record.
- Reassess your choice of database buffer sizes and the number of buffers you have allocated. If you have changed your CI or block size, you need to allocate buffers for the new size.
- Recalculate database space. You need to do this because the changes you are making will result in different requirements for database space.
Once you have determined what changes you need to make, you are ready to change your DL/I access method from HIDAM to HISAM. To do this: