Key Generation Examples

Figure 1. Data Description Specifications for a Physical File
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A               PHYSICAL FILE PF1 FOR KEY GENERATION EXAMPLES
     A
     A          R PFRECORD
     A
     A            MTH            2
     A            DAY            2
     A            YEAR           4
     A            ITEM           5
     A
     A
     A          K MTH
     A          K DAY

The physical file described by Figure 1 forms a basis for the examples that follow. Each example refers to a logical file (derived from the physical file) that specifies EXTERNALLY-DESCRIBED-KEY in its SELECT clause.

Related Information