Sign in

docs RPG Reference

ALTSEQ{(*NONE | *SRC | *EXT)}

ALTSEQ{(*NONE | *SRC | *EXT)}

The ALTSEQ keyword indicates whether an alternate collating sequence is used, if so, whether it is internal or external to the source. The following list shows what happens for the different possible keyword and parameter combinations.

Keyword/Parameter : Collating Sequence Used

ALTSEQ not specified : Normal collating sequence

ALTSEQ(*NONE) : Normal collating sequence

ALTSEQ, no parameters : Alternate collating sequence specified in source

ALTSEQ(*SRC) : Alternate collating sequence specified in source

ALTSEQ(*EXT) : Alternate collating sequence specified by the SRTSEQ and LANGID command parameters or keywords.

If ALTSEQ is not specified or specified with *NONE or *EXT, an alternate collating sequence table must not be specified in the program.