Example: Record format *VB

Here is an example of record format *VB.

Variable-length, blocked, unspanned (*VB).

Figure 1. Variable-length, blocked, unspanned (*VB)
Variable-length, blocked, unspanned (*VB)

XX and YY make up the BDW. XX is the length of all records plus the length of the BDW (4 bytes). YY represents currently reserved fields and must be 00. XX should be the actual length of the data block that is written.

Figure 2. Record A mapping
Record A mapping

Record A has its own mapping by including the RDW. VV and WW make up the RDW. VV is the length of the record plus the length of the RDW (4 bytes). WW are currently reserved fields and must be 00. VV should be the actual length of record data A plus the length of the RDW (4 bytes). The actual length of the data block equals the sum of:

  • The VV value for ALL records.
  • The length of the BDW (4 bytes).