Key Information

The key information describes the keys declared by your program. Each key is one word of information in an array parameter. The key information word format is shown in Key Word Format .

Table 39. Key Word Format

Name

Field

Value

Meaning

KEYFLAGF

[46:01]

 

Relative or keyed key

 

 

0

Relative key

 

 

1

KEYEDIO key

ALTERNATEKEYF

[45:01]

 

Alternate or primary

 

 

0

Primary key

 

 

1

Alternate key

DUPLICATEF

[44:01]

 

Duplicates

 

 

0

No duplicates

 

 

1

Duplicates

KEYORGANIZATIONF

[43:01]

 

Key organization

 

 

1

Ascending. This key must be set. The value 0 (zero) for descending keys is not valid.

KEYSIGNPOSITIONF

[39:04]

 

Sign information

 

 

0

No sign: alphanumeric data

 

 

1

Leading separate: numeric data, leading separate sign

 

 

2

Trailing zone: numeric data, trailing zone

 

 

3

Leading zone: numeric data, leading zone sign

 

 

4

Trailing separate: numeric data, trailing separate sign

 

 

5

Operand

 

 

6

Two's complement

KEYTYPEF

[35:04]

 

Type of key

 

 

0

Word

 

 

2

HEX field

 

 

4

HEX or EBCDIC field

 

 

8

ASCII or EBCDIC

KEYLENGTHF

[31:16]

 

Length in KEYTYPEF units

KEYOFFSETF

[15:16]

 

Offset in record in KEYTYPEF units