Image description: QSAM format-S records

This image shows the layout of QSAM format-S records.

A format-S record has the following content:

Block descriptor field
4 bytes. The first 2 bytes contain the length of the block, including the 4-byte block descriptor field. The second 2 bytes are reserved for system use.
Segment descriptor field
4 bytes. The first 2 bytes contain the length of the record or segment, including the 4-byte segment descriptor field. The second 2 bytes are reserved for system use.
Data record or segment
The data record or segment.

End of image description.