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

Figure 58 shows how to specify the NOALTSEQ keyword.

Figure 58. Specifying the NOALTSEQ Keyword

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

Records with the record format DSTR are sequenced by the composite keys CODE and NAME. CODE is sequenced by the alternative collating sequence (TABLE1 in TABLELIB). NAME is sequenced by the EBCDIC collating sequence. NOALTSEQ prevents the sequence of the NAME field from being altered.