X Table 5. Format and Rules for Forming DBCS Literals | ||
X Rules | X OS/390 and VM | X AIX, OS/2, and Windows |
---|---|---|
X Format X |
X G"<D1D2D3>" X N"<D1D2D3>" |
X G"D1D2D3" X N"D1D2D3" |
X G" N" X X X X X X X X X X X X X X X X X X |
X Opening delimiters. They X must be followed immediately X by a shift-out control X character. X For N-literals, when X embedded quotes/apostrophes X are specified as part of X DBCS characters in a DBCS X literal, a single embedded X DBCS quote/apostrophe is X represented by 2 DBCS X quotes/apostrophes. If a X single embedded DBCS X quote/apostrophe is found, X an E-level compiler message X will be issued and a second X embedded DBCS X quote/apostrophe will be X assumed. |
X Opening delimiters. X X X X X X X X X X X X X X X X X X |
X < X |
X Represents the shift-out X control character (X'0E') |
X N/A X |
X > X |
X Represents the shift-in X control character (X'0F') |
X N/A X |
X " X X X X X X X X X |
X The closing delimiter. They X must appear immediately X after the shift-in control X character. X Single-byte quotation marks X or apostrophes can appear as X part of DBCS characters in a X DBCS literal between the X shift-out and shift-in X control characters. |
X The closing delimiter. X X X X X X X X X |
X Character X Range X X X |
X X'00' to X'FF' for both X bytes, except for X'0F7F' X (or X'0F7D' if using X apostrophes as the opening X and closing delimiters). |
X Any double-byte character X in a DBCS code page. X X X |
X Maximum X Length |
X 28 Characters X |
X N/A X |
X Continuation X Rules |
X Cannot be continued across X lines. |
X Cannot be continued across X lines. |
Subtopics:
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.