A DBCS comparison is a comparison of two DBCS operands; the following rules
apply:
- Comparisons of DBCS operands are based on a collating sequence
specified by the COLLSEQ compiler option:
- If the COLLSEQ(LOCALE) compiler option is in effect, the collating
sequence is determined by the runtime locale. For information about the locale, see Locale considerations.
- Otherwise, the collating sequence is determined by the binary values of the DBCS
characters.