Maximum record size
Maximum record size depends upon the type of record being compressed and whether the record is fixed or variable-length. For fixed-length records, the maximum record size is the same as the data portion of the record. For variable-length records, the 2-byte LL field must be added to the data portion in determining the size. Calculations of maximum record sizes for fixed and variable-length records are illustrated in the following examples.
For fixed-length VSAM and physical sequential records:
In the following example, LRECL = 80 and RECSIZE = 80.
For variable-length, physical sequential records, the LRECL includes the 2-byte LL field. The operating system, however, adds 2 bytes to the record, which you must subtract from the LRECL:
In the following example, LRECL = 84 and RECSIZE = 82.
For variable-length VSAM records, you must add the LL field when calculating the maximum record length:
In this example, LRECL = 80 and RECSIZE = 82.
For undefined-length, physical sequential records, maximum record size is calculated on the basis of block size; you must add the LL field to the block size:
In the following example, BLKSIZE = 3120 and RECSIZE = 3122.
This section contains the following topics:
Related topic