Record Padding option


The Record Padding option enables you to minimize CI and CA splits that occur when the length of compressed records increases.

Such increases can occur when information is added to the record during updates or when the changed information does not compress as well as the information it replaces. When you use the Record Padding option, you must be very familiar with the size of the records in your data sets and how the size changes over time.

When you use the Record Padding option, compression routines place a specified amount of empty space in the records before inserting the records into the data set. As you update these records, DATA ACCELERATOR Compression uses the empty space when the compressed record increases in length. When the compressed record decreases, the actual length of the record is not changed; there is just more empty space in the record because of the record pad. Padded records can grow larger than their original padded size, but cannot decrease in size from the original inserted length until the data set is reloaded or until you turn off the Record Padding option.

The following figure illustrates the pad relationships.

Logical view of record pad

GUID-AF50F0CA-4284-47E5-BF2E-84A7A83FAC08-low.jpg

If you load your data set originally with a small amount of data and you know that much more data will be placed into the records during updates, you can specify a pad when the data set is originally loaded. During update, you can turn the Record Padding option off (without reloading the data set), to allow access by records that need to use the space, but allow the pad to be eliminated from records that do not need it.

The expected record growth in a data set determines the amount and type of record padding that should be used. Use padding appropriately. Too much record padding might jeopardize the benefit of compressing the data set.

Parameter

Description

Components

VSAM component

REGISET Entries

Data set entry (discrete or generic)

ISPF Panel

Record pad amount field

Record pad type field

Batch Utility

RPAD

Global Commands

Not applicable

JOB Step Overrides

Not applicable

Values

Record Pad Amount

The Record Pad Amount is an integer value indicating one of the following options:

  • A percentage from 1 to 100 (if you select Record Pad Type 1, 2, or 3 )
  • The number of bytes from 1 to 9999 (if you select Record Pad Type 4 or 5)

Record Pad Type

The Record Pad Type is an integer value indicating one of the following options:

  • 0 - No Record Pad—Specifies no padding for records in the data set or turns record padding off in a data set t hat has a padding amount already specified
  • 1 - Per Cent of Compressed Record Length—Specifies padding equal to a given percentage of the record after compression.
  • 2 - Per Cent of Uncompressed Record Length—Specifies padding equal to a given percentage of the record before it is compressed.
  • If all records are the maximum length, the percentage of uncompressed record length is equal to the percentage of maximum record length.
  • 3 - Per Cent of Maximum Record Length—Specifies padding equal to a given percentage of the maximum record length as defined in the data set definition.
  • 4 - Exact Number of Record Pad Bytes—Specifies a fixed number of pad bytes from 1 to 9999.
  • Use this option only when the records in the data set are fixed length and you know exactly how much the records will grow.
  • 5 - Minimum Record Length to be Maintained—Adds pads to all records smaller than the specified amount.

Default

0




 

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