Calculate primary record specification
Simply calculate the estimated number of transactions per day (or hour) multiplied by the maximum number of days (or hours) you want to preserve will provide the general record number you want to use. Distribute the resulting CMRDETL size between the individual data sets you plan to utilize (2 to 10). The following is a calculation for the estimated size:
Primary record= ((transactionsPerDay) x (numberOfDays)) / (numberOfDataSets)
Although VSAM allocates space according to the specified number of records, other factors such as the method of loading records and differences in the compressed size of the T6E records will affect the ability of VSAM to use all of a given control area. BMC recommends that you increase the primary record specification by 25%.
For optimum VSAM performance, the primary allocation for CMRDETL should never be less than one cylinder. The secondary extent should always be zero.