Byte | EBCDIC |
---|---|
1st | X'41' to X'FE' |
2nd | X'41' to X'FE' |
DBCS blank | X'4040' |
A DBCS contains double-byte representation of alphanumeric and special symbols corresponding to those of the Single-Byte Character Set (SBCS). In EBCDIC, the first byte of a double-byte alphanumeric or special symbol is X'42' and the second is the same hex code as the corresponding EBCDIC code.
X'42C1' is an EBCDIC double-byte A
X'4281' is an EBCDIC double-byte a
X'427D' is an EBCDIC double-byte quote
In general, there is no concept of lowercase and uppercase in DBCS.
DBCS character -> .A .B .C .D
SBCS character -> a b c d e
DBCS blank -> '. '
EBCDIC shift-out (X'0E') -> <
EBCDIC shift-in (X'0F') -> >