RBA control statement

This statement specifies the position of the physical record in a KSDS or ESDS data set to be verified or changed.

RBA record_rba
record_rba
The relative byte address of the VSAM record. It can be specified as either of the following expressions:
  • A decimal expression (for example, 4096). The allowable maximum value is 4294967295. Only for an extended addressable KSDS data set is the maximum value 140737488355327.
  • A hexadecimal expression that consists of an even number of digits (for example, X'1000'). A leading zero must be added to an odd number of digits (for example, X'0100'). The allowable maximum value is X'FFFFFFFF'. Only for an extended addressable KSDS data set, the maximum value is X'7FFFFFFFFFFF'.

The size of an extended addressable KSDS data set must be less than the control interval (CI) size multiplied by 4 GB. For example, the 4 KB CI determines the maximum data set size as 16 TB; and the 32 KB CI, as 128 TB.

When you access a compressed data set, you cannot perform the Replace function by using the relative byte address of the VSAM record on the RBA control statement. You must avoid changing the length of stored records, which can happen when you use the Replace function for a compressed data set.