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:

RECSIZE = LRECL

In the following example, LRECL = 80 and RECSIZE = 80.

GUID-B45D2C32-57C8-4429-9D52-9EA258A7791D-low.png

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:

RECSIZE = LRECL - 2

In the following example, LRECL = 84 and RECSIZE = 82.

GUID-FD81C619-B22B-48C5-8AF7-FD1878F40C20-low.png

For variable-length VSAM records, you must add the LL field when calculating the maximum record length:

RECSIZE = LRECL + 2

In this example, LRECL = 80 and RECSIZE = 82.

GUID-67046245-1E1B-4E04-AD03-4834FAE69021-low.png

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:

RECSIZE = BLKSIZE + 2

In the following example, BLKSIZE = 3120 and RECSIZE = 3122.

GUID-B4C3212C-338B-40E8-8EC8-976E366D0D99-low.png

This section contains the following topics:



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*