NOALTSEQ (No Alternative Collating Sequence) keyword for physical and logical files

You can use this key field-level keyword to specify that the ALTSEQ keyword specified at the file level does not apply to this key field.

If you specify ABSVAL or SIGNED for a key field, NOALTSEQ is automatically in effect, whether the NOALTSEQ keyword is specified for that key field.

This keyword has no parameters.

Example

The following example shows how to specify 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.