The VSAM key in an NDB is divided into the following parts:
The following shows the key structures in ascending order:
Rectype: X'0000'
Rest of key: All binary 0
Rectype: X'0010'
Rest of key: All binary 0
Rectype: X'0011'
Sequence number: 2 bytes, binary (X'0001' to nnnn)
Rest of key: All binary 0
Rectype: X'0020'
Field code: 2 bytes binary
Rest of key: All binary 0
Rectype: X'0021'
Field code: 2 bytes binary
Rest of key: All binary 0
Rectype: X'0030'
Field code: 2 bytes binary
Field value: (keylen - 8 bytes, see Storage of Values)
Suffix: 4 bytes, binary
Rectype: X'0032'
RID: 4 bytes, binary
Rest of key: All binary 0
Rectype: x'0040'
RID: 4 bytes, binary
Reserved: (keylen - 10) bytes long
Sequence number: 4 bytes binary (usually 0, used to handle large data records)
Rectype: x'0040'
field code: 2 bytes, binary; always x'0001'
Seq key value: (keylen - 8 bytes, see Storage of Values)
Sequence number: 4 bytes binary (usually 0, used to handle large data records)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |