Using DDIOCALC


You can use the DDIOCALC planning tool to try out allocation scenarios and see the effects. You can use it to determine which parameters to use and answer space questions, such as:

  • How much space do I need for x members?
  • How many members can I get into x space?

There are several ways to access the DDIO Calculator:

  • Menu selection on CSS Utilities Main Menu
  • Panel option on the File Facility Screen for both Source Listing and the Abend-AID Report.
  • TSO REXX Command DDIOCALC in SLCXEXEC
  • BMC AMI DevX Code Debug for TSO menu option 5.3

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.

worddav29068b9c9db520c974f9a29d3304ee24.png

The DDIOCALC pulls in the input parameters directly from the file if you have a cataloged source database file.

worddav97a1e9203c3627d2801b4926af84573e.png

You are now ready to try out some changes.

Tip

Take a screenshot before starting.

To use this utility:

  1. Before making changes, clear the DSN and change the DIRX option to N.
  2. 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.

worddav434ba0c27637d6e69c7454ac0627fa9f.png

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.

worddav700a3e71aa777043a23e608d9fe72746.png

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.

worddav76a8df01c7388ee84812ecd352524cb5.png

Next, since we are using third-track blocking (CISIZE 18432), we changed the Group Count to a multiple of 3.

worddavc87e178f4cea5b561f8f16acdeb36b24.png

To make DDIOCALC calculate the actual space required, clear the total cylinders, and press Enter.

worddav81c68c2eb260dc5506740e44c52801be.png

Now, you can apply this information in either creating your DBMODEL or reallocating your database.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*