The ALPHABET clause provides a means of relating an alphabet-name to a specified character code set or collating sequence.
ALPHABET Clause - Format >>-ALPHABET--alphabet-name-1--+----+----------------------------> '-IS-' >--+-STANDARD-1--------------------------------+--------------->< +-STANDARD-2--------------------------------+ +-NATIVE------------------------------------+ +-EBCDIC------------------------------------+ | (1) | +-NLSSORT-----------------------------------+ | .---------------------------------------. | | V | | '---literal-1--+------------------------+-+-' +-+-THROUGH-+--literal-2-+ | '-THRU----' | | .-----------------. | | V | | '---ALSO--literal-3-+----'
Appendix C. EBCDIC and ASCII Collating Sequences, lists the ordinal number for each character in the EBCDIC and ASCII collating sequences.
"D" ALSO "N" ALSO "%"
the characters D, N, and %
are all considered to be in the same position in the collating sequence.When literal-1, literal-2, or literal-3 is specified, the alphabet-name must not be referred to in a CODE-SET clause (see CODE-SET Clause).
DBCS literals and floating-point literals may not be used in a user-specified collating sequence.