Enscribe Programmer's Guide

Figure 9 Alternate-Key Implementation
PART NO.
Alternate-Key File Record Format (Access Path OH):
Primary Data file Record Format:
ON-HANDOH
Key
Specifier
Field Value Primary-
Key Value
Sample Data in Primary Data File:
0115
0201
0205
0206
0310
0322
TOASTER
T.V. SET
PHONOGRAPH
RADIO
FRY PAN
MIXER
20
5
52
97
19
12
12.50
200.00
55.00
9.95
37.50
69.95
C
A
B
A
D
D
TWR
ACME
ACR
BROWN
SMITH
ACME
Key Specifier
Alternate-Key
Primary-Key
NVOLHO 0
PRICE RODNEVNOITACOLDNAH-NO.ON TRAP DESCRIPTION
Alternate-Key Records for Sample Data
(Alternate-Key File is Key-Sequenced):
0201
0206
0205
0115
0310
0322
A
A
B
C
D
D
0201
0322
0310
0115
0205
0206
0201
0322
0205
0206
0310
0115
LO
LO
LO
LO
LO
LO
OH
VN
OH
OH
OH
OH
OH
VN
VN
VN
VN
VN
5
12
ACME
ACME
ACR
BROWN
SMITH
TWR
19
20
52
97
32 Positioning Within Structured Files