EBCDIC 037

From Wikipedia, the free encyclopedia
  (Redirected from EBCDIC 37)
Jump to: navigation, search

IBM code page 37 is an EBCDIC code page with the full Latin-1 character set used in IBM mainframes. It is used in some English and Portuguese speaking countries, including Australia, Brazil, Canada, New Zealand, Portugal, South Africa, and the United States.

CCSID 1140 is the Euro currency update of code page/CCSID 37. In that code page, the "¤" (currency sign) character at code point 9F is replaced with the "" (Euro sign) character.

Codepage layout[edit]

Characters are shown with their Unicode equivalents.

EBCDIC Code Page 00037
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F
 
0_
 
NUL
0000
0
SOH
0001
1
STX
0002
2
ETX
0003
3
SEL
009C
4
HT
0009
5
RNL
0086
6
DEL
007F
7
GE
0097
8
SPS
008D
9
RPT
008E
10
VT
000B
11
FF
000C
12
CR
000D
13
SO
000E
14
SI
000F
15
 
1_
 
DLE
0010
16
DC1
0011
17
DC2
0012
18
DC3
0013
19
RES ENP
009D
20
NL
0085
21
BS
0008
22
POC
0087
23
CAN
0018
24
EM
0019
25
UBS
0092
26
CU1
008F
27
IFS
001C
28
IGS
001D
29
IRS
001E
30
IUS ITB
001F
31
 
2_
 
DS
0080
32
SOS
0081
33
FS
0082
34
WUS
0083
35
BYP INP
0084
36
LF
000A
37
ETB
0017
38
ESC
001B
39
SA
0088
40
SFE
0089
41
SM SW
008A
42
CSP
008B
43
MFA
008C
44
ENQ
0005
45
ACK
0006
46
BEL
0007
47
 
3_
 

0090
48

0091
49
SYN
0016
50
IR
0093
51
PP
0094
52
TRN
0095
53
NBS
0096
54
EOT
0004
55
SBS
0098
56
IT
0099
57
RFF
009A
58
CU3
009B
59
DC4
0014
60
NAK
0015
61

009E
62
SUB
001A
63
 
4_
 
SP
0020
64
RSP
00A0
65
â
00E2
66
ä
00E4
67
à
00E0
68
á
00E1
69
ã
00E3
70
å
00E5
71
ç
00E7
72
ñ
00F1
73
¢
00A2
74
.
002E
75
<
003C
76
(
0028
77
+
002B
78
|
007C
79
 
5_
 
&
0026
80
é
00E9
81
ê
00EA
82
ë
00EB
83
è
00E8
84
í
00ED
85
î
00EE
86
ï
00EF
87
ì
00EC
88
ß
00DF
89
!
0021
90
$
0024
91
*
002A
92
)
0029
93
;
003B
94
¬
00AC
95
 
6_
 
-
002D
96
/
002F
97
Â
00C2
98
Ä
00C4
99
À
00C0
100
Á
00C1
101
Ã
00C3
102
Å
00C5
103
Ç
00C7
104
Ñ
00D1
105
¦
00A6
106
,
002C
107
%
0025
108
_
005F
109
>
003E
110
?
003F
111
 
7_
 
ø
00F8
112
É
00C9
113
Ê
00CA
114
Ë
00CB
115
È
00C8
116
Í
00CD
117
Î
00CE
118
Ï
00CF
119
Ì
00CC
120
`
0060
121
:
003A
122
#
0023
123
@
0040
124
'
0027
125
=
003D
126
"
0022
127
 
8_
 
Ø
00D8
128
a
0061
129
b
0062
130
c
0063
131
d
0064
132
e
0065
133
f
0066
134
g
0067
135
h
0068
136
i
0069
137
«
00AB
138
»
00BB
139
ð
00F0
140
ý
00FD
141
þ
00FE
142
±
00B1
143
 
9_
 
°
00B0
144
j
006A
145
k
006B
146
l
006C
147
m
006D
148
n
006E
149
o
006F
150
p
0070
151
q
0071
152
r
0072
153
ª
00AA
154
º
00BA
155
æ
00E6
156
¸
00B8
157
Æ
00C6
158
¤
00A4
159
 
A_
 
µ
00B5
160
~
007E
161
s
0073
162
t
0074
163
u
0075
164
v
0076
165
w
0077
166
x
0078
167
y
0079
168
z
007A
169
¡
00A1
170
¿
00BF
171
Ð
00D0
172
Ý
00DD
173
Þ
00DE
174
®
00AE
175
 
B_
 
^
005E
176
£
00A3
177
¥
00A5
178
·
00B7
179
©
00A9
180
§
00A7
181

00B6
182
¼
00BC
183
½
00BD
184
¾
00BE
185
[
005B
186
]
005D
187
¯
00AF
188
¨
00A8
189
´
00B4
190
×
00D7
191
 
C_
 
{
007B
192
A
0041
193
B
0042
194
C
0043
195
D
0044
196
E
0045
197
F
0046
198
G
0047
199
H
0048
200
I
0049
201
SHY
00AD
202
ô
00F4
203
ö
00F6
204
ò
00F2
205
ó
00F3
206
õ
00F5
207
 
D_
 
}
007D
208
J
004A
209
K
004B
210
L
004C
211
M
004D
212
N
004E
213
O
004F
214
P
0050
215
Q
0051
216
R
0052
217
¹
00B9
218
û
00FB
219
ü
00FC
220
ù
00F9
221
ú
00FA
222
ÿ
00FF
223
 
E_
 
\
005C
224
÷
00F7
225
S
0053
226
T
0054
227
U
0055
228
V
0056
229
W
0057
230
X
0058
231
Y
0059
232
Z
005A
233
²
00B2
234
Ô
00D4
235
Ö
00D6
236
Ò
00D2
237
Ó
00D3
238
Õ
00D5
239
 
F_
 
0
0030
240
1
0031
241
2
0032
242
3
0033
243
4
0034
244
5
0035
245
6
0036
246
7
0037
247
8
0038
248
9
0039
249
³
00B3
250
Û
00DB
251
Ü
00DC
252
Ù
00D9
253
Ú
00DA
254
EO
009F
255
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

Code page translation[edit]

Since CP 037 contains all of the standard Latin-1 characters, it is possible to translate the character codes from the CP 037 charset to ISO 8859-1 character codes, so that translation back to the CP 037 charset is an exact value-preserving round-trip conversion. Likewise, half of the control character codes can be translated into their exact ASCII equivalents. If the remaining EBCDIC-only control characters are translated (arbitrarily) into the remaining unused ASCII codes points (hex 80 to 9F) as well, the resulting translation covers all of the 256 character code points. Such a translation table is shown below:

CP 037 → ISO 8859-1
  _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F
0_ 00 01 02 03 9C 09 86 7F 97 8D 8E 0B 0C 0D 0E 0F
1_ 10 11 12 13 9D 85 08 87 18 19 92 8F 1C 1D 1E 1F
2_ 80 81 82 83 84 0A 17 1B 88 89 8A 8B 8C 05 06 07
3_ 90 91 16 93 94 95 96 04 98 99 9A 9B 14 15 9E 1A
4_ 20 A0 E2 E4 E0 E1 E3 E5 E7 F1 A2 2E 3C 28 2B 7C
5_ 26 E9 EA EB E8 ED EE EF EC DF 21 24 2A 29 3B AC
6_ 2D 2F C2 C4 C0 C1 C3 C5 C7 D1 A6 2C 25 5F 3E 3F
7_ F8 C9 CA CB C8 CD CE CF CC 60 3A 23 40 27 3D 22
8_ D8 61 62 63 64 65 66 67 68 69 AB BB F0 FD FE B1
9_ B0 6A 6B 6C 6D 6E 6F 70 71 72 AA BA E6 B8 C6 A4
A_ B5 7E 73 74 75 76 77 78 79 7A A1 BF D0 DD DE AE
B_ 5E A3 A5 B7 A9 A7 B6 BC BD BE 5B 5D AF A8 B4 D7
C_ 7B 41 42 43 44 45 46 47 48 49 AD F4 F6 F2 F3 F5
D_ 7D 4A 4B 4C 4D 4E 4F 50 51 52 B9 FB FC F9 FA FF
E_ 5C F7 53 54 55 56 57 58 59 5A B2 D4 D6 D2 D3 D5
F_ 30 31 32 33 34 35 36 37 38 39 B3 DB DC D9 DA 9F

External links[edit]