Previous Topic: ASCII Character Code Page

Next Topic: Processing Double Byte Character Set Data


ISO Character Code Page

On an &DECODE operation, if the TRANSLATE=ISO operand is specified, all character strings are assumed to be from the ISO character set shown below and are translated to their equivalents in the EBCIDIC character set. An &ENCODE operation, however, assumes the character strings to be from the EBCDIC character set and translates them to their equivalents in the ISO character set shown in the following table.

 

0

1

2

3

4

5

6

7

-0

NUL

DLE

SP

0

@

P

'

p

-1

SOH

DC1

!

1

A

Q

a

q

-2

STX

DC2

2

B

R

b

r

-3

ETX

DC3

#

3

C

S

c

s

-4

EOT

DC4

*

4

D

T

d

t

-5

ENQ

NAK

%

5

E

U

e

u

-6

ACK

SYN

&

6

F

V

f

v

-7

BEL

ETB

'

7

G

W

g

w

-8

BS

CAN

(

8

H

X

h

x

-9

HT

EM

)

9

I

Y

i

y

-A

LF

SUB

*

:

J

Z

j

z

-B

VT

ESC

+

;

K

[

k

{

-C

FF

FS

,

<

L

\

l

|

-D

CR

GS

-

=

M

]

m

}

-E

SO

RS

.

>

N

 

n

¯

-F

SI

US

/

?

O

_

o

DEL

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'). On an &ENCODE operation, EBCDIC control characters without an equivalent in this code page are translated to the ISO NULL character (X'00').

Columns 2 to 7 (code points 20 to 7F) contain a set of 94 graphic characters, plus the SPACE and DELETE characters. On an &ENCODE operation, EBCDIC graphic characters without an equivalent in this code page are translated to the ISO SPACE character (X'20').

Columns 8 to 9 (code points 80 to 9F) and columns A to F (code points A0 to AF) are respectively, control character and graphic character code points not defined for this code page. If they appear on an &DECODE operation, they are translated to the EBCDICNULL (X'00') and SPACE (X'40') characters respectively.