The functions of these symbols are as follows:
Symbol | Representation | Example NCHAR Japanese Values | |
---|---|---|---|
Shift-JIS | EUC | ||
N | Each "N" represents a character position which can contain only a DBCS character or a DBCS space. | ||
B | Each "B" represents a character position into which the DBCS space character is inserted. | x"8140" | x"A1A1" |
/ | Each "/" represents a character position into which the DBCS forward slash is inserted. | x"851E" | x"A1BF" |
0 | Each "0" represents a character position into which the DBCS Zero is inserted. | x"824F" | x"A3B0" |
Footnotes:
Note that each "N", "B", "/", "0" represents a single double-byte character position.
The type of editing that can be performed on an item depends on the category to which the item belongs. The table Editing Types for Data Categories in the section The PICTURE Clause is extended with the information shown in Table 1 below:
Category | Type of Editing |
---|---|
NCHAR | None |
NCHAR-EDITED | Simple insertion "B", "/", "0" only |
When used in an SBCS item, "B" (space) represents an SBCS space. When used in an NCHAR item it represents a DBCS space.
When used in an SBCS item, "/" (forward slash) represents an SBCS forward slash. When used in an NCHAR item it represents a DBCS forward slash.
When used in an SBCS item, "0" (zero) represents an SBCS zero. When used in an NCHAR item it represents a DBCS zero.