ALTSEQ (Alternative Collating Sequence) Keyword for Physical and Logical Files--Example

Figure 20 shows how to specify the ALTSEQ keyword for a logical file.

Figure 20. Specifying the ALTSEQ Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A                                      ALTSEQ(TABLELIB/TABLE1)
00020A          R RECORD1                   PFILE (PF1)
00030A             :
00040A             :
00050A             :
00060A            NAME          20
00070A             :
00080A             :
00090A          K NAME
     A

Records with format RECORD1 are sequenced by key NAME according to the alternative collating sequence table (TABLE1 in library TABLELIB).