z/OS MVS Programming: Sysplex Services Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Selecting the Number of Data Elements and Their Size

z/OS MVS Programming: Sysplex Services Guide
SA23-1400-00

To select the data element size for the cache structure, you need to understand the approximate sizes of the smallest and largest pieces of data to be stored in the cache entries. If the data can fit into adjunct areas, you could avoid using data entries altogether. Code a value of 0 for ELEMENTRATIO to define a cache structure without data entries. The system ignores the MAXELEMNUM parameter if you specify it with an ELEMENTRATIO of 0.

The system allows a maximum of 16 data elements per data entry (with CFLEVEL=0) or 255 data elements per data entry (with CFLEVEL=1 or higher), but you can use the MAXELEMNUM parameter to specify a smaller maximum number if you want to further restrict the size of the largest data entries.

The value you specify for MAXELEMNUM must be greater than or equal to the value specified for ELEMENTRATIO divided by the value specified for DIRRATIO:
  • MAXELEMNUM >= (ELEMENTRATIO / DIRRATIO)

The data element size multiplied by the maximum number of data elements must be sufficient to accommodate the largest piece of data that you need to manipulate as a single entry. For a list of possible data element sizes, see Table 1.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014