Using DDIOCALC
When you open the DDIOCALC tool, the Primary Calculations Screen is displayed. If you have previously used the Primary Calculations Screen, it displays your previous entries.
The DDIOCALC pulls in the input parameters directly from the file if you have a cataloged source database file.
You are now ready to try out some changes.
To use this utility:
- Before making changes, clear the DSN and change the DIRX option to N.
- Make only one change at a time, and press Enter after each change.
First, we changed the Report Count to, 1000. The Report Count is the maximum number of members in the file.
Notice that after we press Enter, the parameter we changed, turns green. Also, notice this change caused the Dir Blocks to increase to 56 and increased the percent full to 94.4.
Next, we changed the actual number of members to match the report count.
This change caused DDIOCALC to calculate a new file size. At this stage, we being to get an idea of how much DASD space we need.
Next, we changed the CISIZE to the value that is more efficient in DASD utilization.
Next, since we are using third-track blocking (CISIZE 18432), we changed the Group Count to a multiple of 3.
To make DDIOCALC calculate the actual space required, clear the total cylinders, and press Enter.
Now, you can apply this information in either creating your DBMODEL or reallocating your database.