Previous Topic: Define VSAM Data Set

Next Topic: Calculate Record Length

Calculate Key Length

Calculate the key length to use for the NDB as follows:

L1 =

Longest desired length for any keyed CHAR field

L2 =

Longest desired length for any keyed HEX field (as displayable characters)

L3 =

Maximum of (L1 + 8), (L2 / 2 + 9), and 16

KL =

Minimum of L3, and 255.