File resource tables and index: CIURFILE

Calculation of the space required for the DB2® tablespace and DB2 index for the file resource data.

To calculate the space, in KB, to allocate for the DB2 tablespace and the DB2 index required for file resource data, you need to estimate the total number of rows.

Calculate this number from the following values:
  • NUM_CICS_FILE
  • NUM_REGION_D
Calculate the number of rows for the DB2 table as follows:
NUM_ROWS = (NUM_CICS_FILE * NUM_REGION_D) 

Use the value calculated for NUM_ROWS and the values for ROW_SIZE and PERCENT_FREE in Table 1 to calculate the PRIQTY and SECQTY as described in Figure 1.

Table 1. Worksheet for file detail resource table
Tablespace Row_Size Percent_Free PRIQTY SECQTY
CIUFILE 330 15    
Indexes        
XFILEA 20 20