On an &DECODE operation, if the TRANSLATE=DEC operand is specified, all character strings are assumed to be from the DEC character set shown in the following table and are translated to their equivalents in the EBCDIC character set. An &ENCODE operation, however, assumes the character strings to be from the EBCDIC character set, and translates them from their equivalents in the DEC character set shown in the following table.
|
|
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
A |
B |
C |
D |
E |
F |
|
-0 |
NUL |
DLE |
SP |
0 |
@ |
P |
' |
p |
nnbsp |
|
À |
*1 |
à |
*2 |
|
-1 |
SOH |
DCI |
! |
1 |
A |
Q |
a |
q |
¡ |
” |
Á |
Ñ |
á |
ñ |
|
-2 |
STX |
DC2 |
” |
2 |
B |
R |
b |
r |
¢ |
2 |
 |
Ò |
â |
ò |
|
-3 |
ETX |
DC3 |
# |
3 |
C |
S |
c |
s |
£ |
3 |
à |
Ó |
ã |
ó |
|
-4 |
EOT |
DC4 |
$ |
4 |
D |
T |
d |
t |
¤ |
' |
Ä |
Ô |
ä |
ô |
|
-5 |
ENQ |
NAK |
% |
5 |
E |
U |
e |
u |
¥ |
*3 |
Å |
Õ |
å |
õ |
|
-6 |
AC |
SYN |
& |
6 |
F |
V |
f |
v |
*4 |
¶ |
Æ |
Ö |
æ |
ö |
|
-7 |
BEL |
ETB |
' |
7 |
G |
W |
g |
w |
§ |
. |
Ç |
x |
ç |
|
|
-8 |
BS |
CA |
( |
8 |
H |
X |
h |
x |
¨z |
*5 |
È |
Ø |
è |
ø |
|
-9 |
HT |
EM |
) |
9 |
I |
Y |
i |
y |
E |
*6 |
É |
Ù |
é |
ù |
|
-A |
LF |
SUB |
* |
: |
J |
Z |
j |
z |
ª |
º |
Ê |
Ú |
ê |
ú |
|
-B |
VT |
ESC |
+ |
; |
K |
[ |
k |
{ |
« |
» |
Ë |
Û |
ë |
û |
|
-C |
FF |
FS |
, |
< |
L |
\ |
l |
| |
: |
*7 |
Ì |
Ü |
ì |
ü |
|
-D |
CR |
GS |
- |
= |
M |
] |
m |
} |
shy |
*8 |
Í |
*9 |
í |
*10 |
|
-E |
SO |
RS |
. |
> |
N |
|
n |
~ |
® |
*11 |
Î |
*12 |
î |
*13 |
|
-F |
SI |
US |
/ |
? |
O |
_ |
o |
DEL |
¯ |
¿ |
Ï |
b |
ï |
ÿ |
Items marked with an asterisk (*) in the table are as follows:
|
*1 |
Capital letter D with stroke |
*8 |
Vulgar fraction one half |
|
*2 |
Small Icelandic letter eth |
*9 |
Capital letter Y with acute accent |
|
*3 |
Small Greek letter mu (micron sign) |
*10 |
Small letter y with acute accent |
|
*4 |
Broken bar |
*11 |
Vulgar fraction three quarters |
|
*5 |
Cedilla |
*12 |
Capital Icelandic letter thorn |
|
*6 |
Superscript one |
*13 |
Small Icelandic letter thorn |
|
*7 |
Vulgar fraction one quarter |
|
|
Columns 0 to 1 (code points 00 to 1F) contain a set of 32 control characters. On an &DECODE operation, those characters without an equivalent in the EBCDIC character set are translated to NULLS (X'00'). Similarly, on an &ENCODE operation, EBCDIC control characters without an equivalent in this code page are translated to the DEC NULL character (X'00').
Columns 2 to 7 (code points 20 to 7F) and columns A to F (code points A0 to AF) contain graphic characters. On an &DECODE operation, those characters without an equivalent in the EBCDIC character set are translated to SPACEs (X'40'). On an &ENCODE operation, EBCDIC graphic characters without an equivalent in this code page are translated to the DEC SPACE character (X'20').
Columns 8 to 9 (code points 80 to 9F) are control character code points not defined for this character code page. If they appear on an &DECODE operation, they are translated to the EBCDIC NULL character (X'00').
| Copyright © 2009 CA. All rights reserved. |
|