HISAM and SHISAM database
HISAM and SHISAM databases share the following record formats.
Segment Format
Figure 1 and Figure 2 show the segment format of HISAM and SHISAM.

Note:
- 1.
- This field can be omitted, or it can be used to hold:
- A 4-byte LP pointer (if this segment is an LC).
- A 4-byte counter (if this segment is an LP).
- One or more 4-byte LC pointers (if this segment is an LP).
-
Figure 2. SHISAM segment format Note: This diagram is for a root-only database. - LRECL Format
- The following figure shows the LRECL format.
Figure 3. LRECL format Notes:- 1.
- 4-byte RBA of ESDS record containing additional dependent segments
for this root occurrence.
SHISAM: This field is omitted.
- 2.
- HISAM: Segment includes prefix and data.
SHISAM: Segment includes only data (no prefix). (See Figure 2)
- 3.
- 1-byte of zeros indicates the end of segments in this LRECL.
- 4.
- This field is omitted.
- 5.
- Space not used.
- 6.
- VSAM LRECLs must have an even length.
- VSAM Block Formats
-
The following figure shows the VSAM block formats.
Figure 4. VSAM block formats Notes:- 1.
- LRECL length might change between KSDS and ESDS, depending on user definition.
- 2.
- 10 bytes in a blocked data set; 7 bytes in an unblocked data set.