You can include multibyte as well as single-byte characters in alphanumeric literals (such as to initialize display fields). Alphanumeric literals with multibyte characters are referred to as mixed literals.
Mixed literals have the following format:
| Format 2: Mixed literals |
|---|
“mixed-characters” 'mixed-characters' |
The rules of formation for mixed literals are as follows:
Mixed literals cannot be used as a literal in the following:
COBOL statements process alphanumeric literals with multibyte characters on a byte-by-byte basis, without sensitivity to the character codes. See the COBOL for Windows Programming Guide for more information about using alphanumeric literals and data items with multibyte characters in statements that operate on a byte-by-byte basis.