Skip to main content

IBM i Globalization

IBM Control Codes

Control Character Mappings
This page contains the predefined default control character mappings used by CDRA when creating single-byte to single-byte round trip conversion tables.

EBCDIC to IBM-PC

Control Character Mapping - SBSC EBCDIC to IBM-PC
EBCDIC IBM-PC
Hex
Abbrev-
iation
Character Name
Hex
Abbrev-
iation
Character Name
00 NUL Null 00 NUL Null
01
SOH
Start of
Heading
01
SOH
Start of
Header
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 EXT End of Text
04 SEL Select DC graphic 29)
05
HT
Horizontal
Tabulation
09
HT
Horizontal
Tabulation
06
RNL
Required New
line
C3
graphic 29)
07 DEL Delete 1C DEL Delete (28)
08 GE Graphic Escape CA graphic 29)
09 SPS Superscript B2 graphic 29)
0A RPT Repeat D5 graphic 29)
0B
VT
Vertical
Tabulation
0B
VT
Vertical
Tabulation
0C FF Form Feed 0C FF Form Feed
0D
CR
Carriage
Return
0D
CR
Carrier Return
0E


SO


Shift Out


0E


SO Shift Out
LS1
Locking-Shift
One
0F


SI


Shift In


0F


SI Shift In
LS0
Locking-Shift
Zero
10
DLE
Data link
Escape
10
DLE
Data link
Escape
11
DC1
Device Control
One
11
DC1
Device Control
One
12
DC2
Device Control
Two
12
DC2
Device Control
Two
13
DC3
Device Control
Three
13
DC3
Device Control
Three
14
RES/ENP
Restore/Enable
Presentation
DB
graphic 29)
15 NL New line DA graphic 29)
16 BS Backspace 08 BS Backspace
17

POC

Program
Operator
Communication
C1

graphic 29)

18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Media
1A
UBS
Unit Back
Space
C8
graphic 29)
1B
CU1
Customer Use
One
F2
graphic 29)
1C
IFS
Information
File Separator
1A
IFS
Field
Separator (28)
1D

IGS

Information
Group
Separator
1D

GS

Group
Separator
1E

IRS

Information
Record
Separator
1E

RS

Record
Separator
1F
IUS/ITB
Information
Unit Separator
1F
US
Unit Separator
20 DS Digit Select C4 graphic 29)
21
SOS
Start of
Significance
B3
graphic 29)
22
FS
Field
Separator
C0
graphic 29)
23
WUS
Word
Underscore
D9
graphic 29)
24

BYP/INP

Bypass or
Inhibit
Presentation
BF

graphic 29)

25 LF Line Feed 0A LF Line Feed
26

ETB

End of
Transmission
Block
17

ETB

End of
Transmission
Block
27
ESC
Escape
1B
ESC
Escape
Character
28 SA Set Attribute B4 graphic 29)
29
SFE
Start Field
Extended
C2
graphic 29)
2A
SM or
SW
Set Mode or
Switch
C5
graphic 29)
2B

CSP

Control
Sequence
Prefix
B0

graphic 29)

2C
MFA
Modify Field
Attribute
B1
graphic 29)
2D ENQ Enquiry 05 ENQ Enquiry
2E ACK Acknowledge 06 ACK Acknowledge
2F BEL Bell 07 BEL Bell
30 xxx Reserved CD graphic 29)
31 xxx Reserved BA graphic 29)
32
SYN
Synchronous
Idle
16
SYN
Synchronous
Idle
33 IR Index Return BC graphic 29)
34
PP
Presentation
Position
BB
graphic 29)
35 TRN Transparent C9 graphic 29)
36
NBS
Numeric
Backspace
CC
graphic 29)
37
EOT
End of
Transmission
04
EOT
End of
Transmission
38 SBS Subscript B9 graphic 29)
39
IT
Indent
Tabulation
CB
graphic 29)
3A
RFF
Reverse Form
Feed
CE
graphic 29)
3B
CU3
Customer Use
Three
DF
graphic 29)
3C
DC4
Device Control
Four
14
DC4
Device Control
Four
3D
NAK
Negative
Acknowledge
15
NAK
Not
Acknowledge
3E xxx Reserved FE graphic 29)
3F SUB Substitute 7F SUB Substitute (28)
FF EO Eight Ones 9F graphic 29)

(28) These control points do not follow the definitions of ASCII in ANSI X3.4.

(29) These code points are in the graphic character space for IBM-PC code pages. The actual graphic characters vary from code page to code page. These code points are used for mapping control code points for consistency. (Note that a graphic character match will override the control character mapping.)


IBM-PC to EBCDIC

Control Character Mapping - SBCS IBM-PC DATA to EBCDIC
EBCDIC IBM-PC
Hex
Abbrev-
iation
Character Name
Hex
Abbrev-
iation
Character Name
00 NUL Null 00 NUL Null
01
SOH
Start of
Header
01
SOH
Start of
Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04
EOT
End of
Transmission
37
EOT
End of
Transmission
05 ENQ Enquiry 2D ENQ Enquiry
06 ACK Acknowledge 2E ACK Acknowledge
07 BEL Bell 2F BEL Bell
08 BS Backspace 16 BS Backspace
09
HT
Horizontal
Tabulation
05
HT
Horizontal
Tabulation
0A LF Line Feed 25 LF Line Feed
0B
VT
Vertical
Tabulation
0B
VT
Vertical
Tabulation
0C FF Form Feed 0C FF Form Feed
0D
CR
Carrier Return
0D
CR
Carriage
Return
0E


SO Shift-Out 0E


SO


Shift Out


LS1
Locking-Shift
One
0F


SI Shift-In 0F


SI


Shift In


LS0
Locking-Shift
Zero
10
DLE
Data link
Escape
10
DLE
Data link
Escape
11
DC1
Device Control
One
11
DC1
Device Control
One
12
DC2
Device Control
Two
12
DC2
Device Control
Two
13
DC3
Device Control
Three
13
DC3
Device Control
Three
14
DC4
Device Control
Four
3C
DC4
Device Control
Four
15
NAK
Negative
Acknowledge
3D
NAK
Negative
Acknowledge
16
SYN
Synchronous
Idle
32
SYN
Synchronous
Idle
17

ETB

End of
Transmission
Block
26

ETB

End of
Transmission
Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Media 19 EM End of Medium
1A
IS4
Field
Separator (30)
1C
IFS
Information
File Separator
1B
ESC
Escape
character
27
ESC
Escape
1C DEL Delete (30) 07 DEL Delete
1D

IS3

Group
Separator
1D

IGS

Information
Group
Separator
1E

IS2

Record
Separator
1E

IRS

Information
Record
Separator
1F
IS1
Unit Separator
1F
IUS/ITB
Information
Unit Separator
7F SUB Substitute (30) 3F SUB Substitute

(30) These control points do not follow the definitions of ASCII in ANSI X3.4.


ISO-8 to IBM-PC

Control Character Mapping - SBCS ISO-8 to IBM-PC
ISO-8 IBM-PC
Hex
Abbrev-
iation
Character Name
Hex
Abbrev-
iation
Character Name
00 NUL Null 00 NUL Null
01
SOH
Start of
Header
01
SOH
Start of
Header
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04
EOT
End of
Transmission
04
EOT
End of
Transmission
05 ENQ Enquiry 05 ENQ Enquiry
06 ACK Acknowledge 06 ACK Acknowledge
07 BEL Bell 07 BEL Bell
08 BS Backspace 08 BS Backspace
09
HT
Character
Tabulation
09
HT
Horizontal
Tabulation
0A LF Line Feed 0A LF Line Feed
0B
VT
Line
Tabulation
0B
VT
Vertical
Tabulation
0C FF Form Feed 0C FF Form Feed
0D CR Carrier Return 0D CR Carrier Return
0E


SO Shift-Out 0E


SO Shift-Out
LS1
Locking-Shift
One
LS1
Locking-Shift
One
0F


SI Shift-In 0F


SI Shift-In
LS0
Locking-Shift
Zero
LS0
Locking-Shift
Zero
10
DLE
Data link
Escape
10
DLE
Data link
Escape
11
DC1
Device Control
One
11
DC1
Device Control
One
12
DC2
Device Control
Two
12
DC2
Device Control
Two
13
DC3
Device Control
Three
13
DC3
Device Control
Three
14
DC4
Device Control
Four
14
DC4
Device Control
Four
15
NAK
Negative
Acknowledge
15
NAK
Negative
Acknowledge
16
SYN
Synchronous
Idle
16
SYN
Synchronous
Idle
17

ETB

End of
Transmission
Block
17

ETB

End of
Transmission
Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Media 19 EM End of Media
1A SUB Substitute 7F SUB Substitute (31)
1B
ESC
Escape
Character
1B
ESC
Escape
Character
1C
IFS
Information
Separator Four
1A
IFS
Field
Separator (31)
1D

IGS

Information
Separator
Three
1D

GS

Group
Separator
1E
IRS
Information
Separator Two
1E
RS
Record
Separator
1F
US
Information
Separator One
1F
US
Unit Separator
7F DEL Delete 1C DEL Delete (31)
80 xxx Reserved BA graphic 29)
81 xxx Reserved CD graphic 29)
82
BPH
Break
Permitted Here
C9
graphic 29)
83 NBH No Break Here BB graphic 29)
84 IND Index C8 graphic 29)
85 NEL Next Line BC graphic 29)
86
SSA
Start of
Selected Area
CC
graphic 29)
87
ESA
End of
Selected Area
B9
graphic 29)
88
HTS
Character
Tabulation Set
CB
graphic 29)
89


HTJ


Character
Tabulation
with
Justification
CA


graphic 29)


8A
VTS
Line
Tabulation Set
CE
graphic 29)
8B
PLD
Partial line
Down
DF
graphic 29)
8C
PLU
Partial line
Up
DC
graphic 29)
8D

RI

Reverse Line
Feed (or
Reverse Index)
DB

graphic 29)

8E
SS2
Single Shift
Two
FE
graphic 29)
8F
SS3
Single Shift
Three
F2
graphic 29)
90
DCS
Device Control
String
B3
graphic 29)
91
PU1
Private Use
One
C4
graphic 29)
92
PU2
Private Use
Two
DA
graphic 29)
93
STS
Set Transmit
State
BF
graphic 29)
94
CCH
Cancel
Character
C0
graphic 29)
95
MW
Message
Waiting
D9
graphic 29)
96
SPA
Start of
Guarded Area
C3
graphic 29)
97
EPA
End of Guarded
Area
B4
graphic 29)
98
SOS
Start of
String
C2
graphic 29)
99 xxx Reserved C1 graphic 29)
9A

SCI

Single
Character
Introducer
C5

graphic 29)

9B

CSI

Control
Sequence
Introducer
B0

graphic 29)

9C
ST
String
Terminator
B1
graphic 29)
9D
OSC
Operating
System Command
B2
graphic 29)
9E
PM
Privacy
Message
D5
graphic 29)
9F

ACP

Application
Program
Command
9F

graphic 29)

(31) These control points do not follow the definitions of ASCII in ANSI X3.4.

(32) These code points are in the graphic character space for IBM-PC code pages. The actual graphic characters vary from code page to code page. These code points are used for mapping control code points for consistency. (Note that a graphic character match will override the control character mapping.)


IBM-PC to ISO-8

Control Character Mapping - SBCS IBM-PC to ISO-8
IBM-PC ISO-8
Hex
Abbrev-
iation
Character Name
Hex
Abbrev-
iation
Character Name
00 NUL Null 00 NUL Null
01
SOH
Start of
Header
01
SOH
Start of
Header
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04
EOT
End of
Transmission
04
EOT
End of
Transmission
05 ENQ Enquiry 05 ENQ Enquiry
06 ACK Acknowledge 06 ACK Acknowledge
07 BEL Bell 07 BEL Bell
08 BS Backspace 08 BS Backspace
09
HT
Horizontal
Tabulation
09
HT
Character
Tabulation
0A LF Line Feed 0A LF Line Feed
0B
VT
Vertical
Tabulation
0B
VT
Line
Tabulation
0C FF Form Feed 0C FF Form Feed
0D CR Carrier Return 0D CR Carrier Return
0E


SO Shift-Out 0E


SO Shift-Out
LS1
Locking-Shift
One
LS1
Locking-Shift
One
0F


SI Shift-In 0F


SI Shift-In
LS0
Locking-Shift
Zero
LS0
Locking-Shift
Zero
10
DLE
Data link
Escape
10
DLE
Data link
Escape
11
DC1
Device Control
One
11
DC1
Device Control
One
12
DC2
Device Control
Two
12
DC2
Device Control
Two
13
DC3
Device Control
Three
13
DC3
Device Control
Three
14
DC4
Device Control
Four
14
DC4
Device Control
Four
15
NAK
Negative
Acknowledge
15
NAK
Negative
Acknowledge
16
SYN
Synchronous
Idle
16
SYN
Synchronous
Idle
17

ETB

End of
Transmission
Block
17

ETB

End of
Transmission
Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Media 19 EM End of Media
1A
IFS
Field
Separator (33)
1C
IFS
Information
Separator Four
1B
ESC
Escape
Character
1B
ESC
Escape
Character
1C DEL Delete (33) 7F DEL Delete
1D

GS

Group
Separator
1D

IGS

Information
Separator
Three
1E
RS
Record
Separator
1E
IRS
Information
Separator Two
1F
US
Unit Separator
1F
US
Information
Separator One
7F SUB Substitute (33) 1A SUB Substitute

(33) These control points do not follow the definitions of ASCII in ANSI X3.4.

(34) These code points are in the graphic character space for IBM-PC code pages. The actual graphic characters vary from code page to code page. These code points are used for mapping control code points for consistency. (Note that a graphic character match will override the control character mapping.)


EBCDIC to ISO-8

Control Character Mapping - SBCS EBCDIC to ISO-8
EBCDIC ISO-8
Hex
Abbrev-
iation
Character Name
Hex
Abbrev-
iation
Character Name
00 NUL Null 00 NUL Null
01
SOH
Start of
Heading
01
SOH
Start of
Header
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04
SEL
Select
9C
ST
String
Terminator
05
HT
Horizontal
Tabulation
09
HT
Character
Tabulation
06
RNL
Required New
Line
86
SSA
Start of
Selected Area
07 DEL Delete 7F DEL Delete
08
GE
Graphic Escape
97
EPA
End of Guarded
Area
09

SPS

Superscript

8D

RI

Reverse line
Feed (or
Reverse Index)
0A
RPT
Repeat
8E
SS2
Single Shift
Two
0B
VT
Vertical
Tabulation
0B
VT
Line
Tabulation
0C FF Form Feed 0C FF Form Feed
0D
CR
Carriage
Return
0D
CR
Carrier Return
0E


SO


Shift Out


0E


SO Shift-Out
LS1
Locking-Shift
One
0F


SI


Shift In


0F


SI Shift-In
LS0
Locking-Shift
Zero
10
DLE
Data link
Escape
10
DLE
Data link
Escape
11
DC1
Device Control
One
11
DC1
Device Control
One
12
DC2
Device Control
Two
12
DC2
Device Control
Two
13
DC3
Device Control
Three
13
DC3
Device Control
Three
14

RES/ENP

Restore /
Enable
Presentation
9D

OSC

Operating
System Command
15 NL New Line 85 NEL Next line
16 BS Backspace 08 BS Backspace
17

POC

Program
Operator
Communication
87

ESA

End of
Selected Area
18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Media
1A
UBS
Unit Back
Space
92
PU2
Private Use
Two
1B
CU1
Customer Use
One
8F
SS3
Single Shift
Three
1C

IFS

Information
File Separator
1C

IS4

Information
Separator Four
1D

IGS

Information
Group
Separator
1D

IS3

Information
Separator
Three
1E

IRS

Information
Record
Separator
1E

IS2

Information
Separator Two
1F

IUS/ITB

Information
Unit Separator
1F

IS1

Information
Separator One
20 DS Digit Select 80 xxx Reserved
21
SOS
Start of
Significance
81
xxx
Reserved
22
FS
Field
Separator
82
BPH
Break
Permitted Here
23
WUS
Word
Underscore
83
NBH
No Break Here
24

BYP/INP

Bypass or
Inhibit
Presentation
84

IND

Index

25 LF Line Feed 0A LF Line Feed
26

ETB

End of
Transmission
Block
17

ETB

End of
Transmission
Block
27
ESC
Escape
1B
ESC
Escape
character
28
SA
Set Attribute
88
HTS
Character
Tabulation Set
29


SFE


Start Field
Extended

89


HTJ


Character
Tabulation
with
Justification
2A
SM/SW
Set Mode or
Switch
8A
VTS
Line
Tabulation Set
2B

CSP

Control
Sequence
Prefix
8B

PLD

Partial line
Down
2C
MFA
Modify Field
Attribute
8C
PLU
Partial line
Up
2D ENQ Enquiry 05 ENQ Enquiry
2E ACK Acknowledge 06 ACK Acknowledge
2F BEL Bell 07 BEL Bell
30
xxx
Reserved
90
DCS
Device Control
String
31
xxx
Reserved
91
PU1
Private Use
One
32
SYN
Synchronous
Idle
16
SYN
Synchronous
Idle
33
IR
Index Return
93
STS
Set Transmit
State
34
PP
Presentation
Position
94
CCH
Cancel
Character
35
TRN
Transparent
95
MW
Message
Waiting
36
NBS
Numeric
Backspace
96
SPA
Start of
Guarded Area
37
EOT
End of
Transmission
04
EOT
End of
Transmission
38
SBS
Subscript
98
SOS
Start of
String
39
IT
Indent
Tabulation
99
xxx
Reserved
3A

RFF

Reverse Form
Feed
9A

SCI

Single
Character
Introducer
3B

CU3

Customer Use
Three
9B

CSI

Control
Sequence
Introducer
3C
DC4
Device Control
Four
14
DC4
Device Control
Four
3D
NAK
Negative
Acknowledge
15
NAK
Negative
Acknowledge
3E
xxx
Reserved
9E
PM
Privacy
Message
3F SUB Substitute 1A SUB Substitute
FF

EO

Eight Ones

9F

APC

App

ISO-8 to EBCDIC

Control Character Mapping - SBCS ISO-8 to EBCDIC
ISO-8 EBCDIC
Hex
Abbrev-
iation
Character Name
Hex
Abbrev-
iation
Character Name
00 NUL Null 00 NUL Null
01
SOH
Start of
Header
01
SOH
Start of
Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04
EOT
End of
Transmission
37
EOT
End of
Transmission
05 ENQ Enquiry 2D ENQ Enquiry
06 ACK Acknowledge 2E ACK Acknowledge
07 BEL Bell 2F BEL Bell
08 BS Backspace 16 BS Backspace
09
HT
Character
Tabulation
05
HT
Horizontal
Tabulation
0A LF Line Feed 25 LF Line Feed
0B
VT
Line
Tabulation
0B
VT
Vertical
Tabulation
0C FF Form Feed 0C FF Form Feed
0D
CR
Carrier Return
0D
CR
Carriage
Return
0E SO Shift-Out 0E SO Shift Out
Locking-Shift
One
One
LS1
0F



SI
Shift-In 0F



SI



Shift In



Locking-Shift
Zero
One
LS0
10
DLE
Data link
Escape
10
DLE
Data link
Escape
11
DC1
Device Control
One
11
DC1
Device Control
One
12
DC2
Device Control
Two
12
DC2
Device Control
Two
13
DC3
Device Control
Three
13
DC3
Device Control
Three
14
DC4
Device Control
Four
3C
DC4
Device Control
Four
15
NAK
Negative
Acknowledge
3D
NAK
Negative
Acknowledge
16
SYN
Synchronous
Idle
32
SYN
Synchronous
Idle
17

ETB

End of
Transmission
Block
26

ETB

End of
Transmission
Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Media 19 EM End of Medium
1A SUB Substitute 3F SUB Substitute
1B
ESC
Escape
Character
27
ESC
Escape
1C

IS4

Information
Separator Four
1C

IFS

Information
File Separator
1D

IS3

Information
Separator
Three
1D

IGS

Information
Group
Separator
1E

IS2

Information
Separator Two
1E

IRS

Information
Record
Separator
1F

IS1

Information
Separator One
1F

IUS/ITB

Information
Unit Separator
7F DEL Delete 07 DEL Delete
80 xxx Reserved 20 DS Digit Select
81
xxx
Reserved
21
SOS
Start of
Significance
82
BPH
Break
Permitted Here
22
FS
Field
Separator
83
NBH
No Break Here
23
WUS
Word
Underscore
84

IND

Index

24

BYP/INP

Bypass or
Inhibit
Presentation
85 NEL Next Line 15 NL New Line
86
SSA
Start of
Selected Area
06
RNL
Required New
Line
87

ESA

End of
Selected Area
17

POC

Program
Operator
Communication
88
HTS
Character
Tabulation Set
28
SA
Set Attribute
89


HTJ


Character
Tabulation
with
Justification
29


SFE


Start Field
Extended

8A
VTS
Line
Tabulation Set
2A
SM/SW
Set Mode or
Switch
8B

PLD

Partial line
Down
2B

CSP

Control
Sequence
Prefix
8C
PLU
Partial line
Up
2C
MFA
Modify Field
Attribute
8D

RI

Reverse Line
Feed (or
Reverse Index)
09

SPS

Superscript

8E
SS2
Single Shift
Two
0A
RPT
Repeat
8F
SS3
Single Shift
Three
1B
CU1
Customer Use
One
90
DCS
Device Control
String
30
xxx
Reserved
91
PU1
Private Use
One
31
xxx
Reserved
92
PU2
Private Use
Two
1A
UBS
Unit Back
Space
93
STS
Set Transmit
State
33
IR
Index Return
94
CCH
Cancel
Character
34
PP
Presentation
Position
95
MW
Message
Waiting
35
TRN
Transparent
96
SPA
Start of
Guarded Area
36
NBS
Numeric
Backspace
97
EPA
End of Guarded
Area
08
GE
Graphic Escape
98
SOS
Start of
String
38
SBS
Subscript
99
xxx
Reserved
39
IT
Indent
Tabulation
9A

SCI

Single
Character
Introducer
3A

RFF

Reverse Form
Feed
9B

CSI

Control
Sequence
Introducer
3B

CU3

Customer Use
Three
9C
ST
String
Terminator
04
SEL
Select
9D

OSC

Operating
System Command
14

RES/ENP

Restore /
Enable
Presentation
9E
PM
Privacy
Message
3E
xxx
Reserved
9F

APC

Application
Program
Command
FF

EO

Eight Ones

We're here to help

Easy ways to get the answers you need.


or call us at
1-866-883-89011-866-883-8901
Priority code:
101AR13W