CICS® tables and index: CIUCICS1 and CIUCICSX

How to calculate the space required for the Db2® tablespace and Db2® index for CICS® data.

To calculate the space, in KB, to allocate for the Db2® tablespace and the Db2® index required for CICS® data, estimate the total number of rows. This number is calculated from the following values; see Values required for each CICS® region:
  • NUM_CICS_PROG
  • AVG_EXEC_SHORT
  • AVG_EXEC_LONG
  • PROG_TRAN_RATIO
  • NUM_REGION_D
Calculate the number of rows for the CICS® table as follows:
NUM_ROWS = (NUM_CICS_PROG * AVG_EXEC_SHORT
            * PROG_TRAN_RATIO * NUM_REGION_D) +
           (NUM_CICS_PROG * AVG_EXEC_LONG 
            * PROG_TRAN_RATIO * NUM_REGION_D)  

If you are using Db2® 7.1, use the value calculated for NUM_ROWS and the values for ROW_SIZE and PERCENT_FREE in Worksheet for CICS tablespace using IBM Db2 7.1 to calculate the PRIQTY and SECQTY as described in Db2 space allocation.

Table 1. Worksheet for CICS® tablespace using IBM® Db2® 7.1
Tablespace Row_Size Percent_Free PRIQTY SECQTY
CIUCIC1 315 15
Indexes
XICICS11 245 20

If you are using Db2® 8.1, use the value calculated for NUM_ROWS and the values for ROW_SIZE and PERCENT_FREE in Worksheet for CICS tablespace using IBM Db2 8.1 to calculate the PRIQTY and SECQTY as described in Db2 space allocation.

Table 2. Worksheet for CICS® tablespace using IBM® Db2® 8.1
Tablespace Row_Size Percent_Free PRIQTY SECQTY
CIUCIC1 387 15
Indexes
XICICS11 317 20