COLLATING SEQUENCE Phrase
This phrase specifies the collating sequence to be used in nonnumeric comparisons
for the KEY data items in this merge operation.
- alphabet-name
- Must be specified in the SPECIAL-NAMES paragraph ALPHABET clause. Any
one of the alphabet-name clause phrases can be specified with the following
results:
- When NATIVE is specified, the EBCDIC collating sequence is used for all nonnumeric comparisons.
- When NLSSORT is specified, the collating sequence is determined by the LANGID and SRTSEQ parameters of the CRTCBLMOD and CRTBNDCBL commands.
- When the literal phrase is specified, the collating sequence established by the specification of literals in the alphabet-name clause is used for all nonnumeric comparisons.
- When STANDARD-1 is specified, the ASCII collating sequence is used for all nonnumeric comparisons.
- When STANDARD-2 is specified, the International Reference Version of the ISO 7-bit code defined in International Standard 646, 7-bit Coded Character Set for Information Processing Interchange is used.
When the COLLATING SEQUENCE phrase is omitted, the PROGRAM COLLATING SEQUENCE clause (if specified) in the OBJECT-COMPUTER paragraph specifies the collating sequence to be used.
When both the COLLATING SEQUENCE phrase and the PROGRAM COLLATING SEQUENCE clause are omitted, the EBCDIC collating sequence is used.