When you specify any literal that contains DBCS characters, follow the same rules that apply in specifying alphanumeric literals, as well as the following rules specific to mixed and DBCS literals:
"SINGLE0EK1K2K30FBYTES"
"0EK1K20F"
G"OE or N"0E
followed by one or more Double-Byte characters and ended with
0F"
An example of this is as follows:
G"0EKIK20F" N"0E 0F"
"Mixed ""0EK1K2K30F"" literal" G"0EK1K2K3"K4"K5K60F" N"0EK1K2K3""K4""K5K60F"
The shift-out and shift-in characters cannot be nested.
The shift control characters are part of a mixed literal (not a pure DBCS literal), and take part in all operations.
Other considerations include:
Although the preceding discussion uses the term a quotation mark to describe the character that identifies a literal, the character actually used can vary depending upon the option specified on the CRTCBLMOD or CRTBNDCBL commands, or on the PROCESS statement. If you specify the APOST option, an apostrophe (') is used. Otherwise, a quotation mark (") is used. In this appendix, a quotation mark refers to both an apostrophe and a quotation mark. The character that you choose does not affect the rules for specifying a literal.
The shift-out and shift-in characters separate EBCDIC characters from DBCS characters. They are part of the mixed literal. Therefore, the shift code characters participate in all operations when they appear in mixed literals. Shift code characters do not participate in any operations when they appear in DBCS literals.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.