The LRECL Format on Device and in Buffer Pool are described.
LRECL Format on Device and in Buffer Pool
One
segment per LRECL. The following figure shows the LRECL Format on
Device and in Buffer Pool.
Figure 1. LRECL format on device and in buffer pool
Notes:
1.
Nonunique keys: This points to ESDS LRECL with the same key value.
Unique keys or PSINDEX: This field is omitted.
2.
Direct pointer to index target segment. Omit this field if symbolic
pointing is used or if this is a HALDB PSINDEX.
3
The EPS is present only if this is a HALDB PSINDEX. The 4-byte
pointer to the target segment is included in the EPS.
4
RKEY means root key. The RKEY field is present only if this is
a HALDB PSINDEX. This is the key value for the root of the target
segment and its length can be from 1 to 256 bytes.
LRECL as Returned by Buffer Handler
The following figure shows LRECL as returned by buffer handler.
Figure 2. LRECL as returned
by buffer handler
Notes:
1.
Four-byte pointer contains zeros.
2.
Code value is 01.
3.
Direct pointer to index target segment. Omit this field if symbolic
pointing is used or if this is a HALDB PSINDEX.
4
The EPS is present only if this is a HALDB PSINDEX. The 4-byte
pointer to the target segment is included in the EPS.
5
The RKEY field is present only if this is a HALDB PSINDEX. This
is the key value for the root of the target segment and its length
can be from 1 to 256 bytes.
6
Sequential segment data format.
Block Format on Device and in Buffer Pool
The following figure shows the block format on device and in buffer
pool. Figure 3. VSAM block
format on device and in buffer pool
Segment Data Format
The following figure shows the segment data format. Figure 4. Segment data format