16.20 - EBCDIC - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

The character set on the Teradata Database named EBCDIC is intended as a basic EBCDIC character set consisting of 1-byte per character. Architecturally, the EBCDIC encoding scheme consists of 256 possible values (codepoints) represented as hexadecimal values in the range X'00' to X'FF'.

EBCDIC codepoint assignments are:
  • X'00' and X'3F' reserved for control characters
  • X'FF' reserved for the Eight Ones character
  • X'40' is the 'Space' character
  • X'41' through X'FE' are available to represent graphic characters
Teradata EBCDIC Codepage
  x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x NUL SOH STX ETX ¤ HT © DEL Ñ Ò Ó VT FF CR SO SI
1x DLE DC1 DC2 DC3 Ô Õ BS Ö CAN EM Œ Ø IS4 IS3 IS2 IS1
2x å æ Ù ç è LF ETB ESC é Ð ñ ò ó ENQ ACK BEL
3x ô õ SYN ö œ É ø EOT ù â ã ä DC4 NAK à  
4x SP ¨ ´ ¸ × ÷ SSA ESA HTS HTJ PLD . < ( + RI
5x & PU1 PU2 STS CCH MW SPA EPA SOS UC1 ! $ * ) ; ^
6x - / CSI OSC ¢ £ ý ¥ ¦ § | , % _ > ?
7x Á Â Ã Ä Å Æ Ç È ¡ ` : # @ ' = "
8x RSP a b c d e f g h i VTS À PLU SHY SS2 SS3
9x DCS j k l m n o p q r SCI ð ST ½ PM APC
Ax Š ~ s t u v w x y z ª « ¬ [ ® ˉ
Bx ° ± ² ³ Ý μ · Š ı ° » ¼ ] ¾ ¿
Cx { A B C D E F G H I Ê Ë Ì Í Î Ï
Dx } J K L M N O P Q R Ú Û Ü Ÿ þ ß
Ex \ á S T U V W X Y Z ê ë í ì î ï
Fx 0 1 2 3 4 5 6 7 8 9 ú û ü ÿ Þ
                                 
Control character codepoints
Reserved codepoints

The Database will reject character data containing the reserved codepoint.

This is not a well-formed EBCDIC encoding because graphic characters appear in the range reserved for control characters, non-EBCDIC control characters appear in the range reserved for graphic characters, all common control characters are not present, and a graphic character appears in the X'FF' codepoint reserved for the Eight Ones character.

No special processing is performed by the Database for control characters. This includes the Shift Out control character since all codepoints are single-byte. Similarly, the non-EBCDIC control characters Single Shift Two and Single Shift Three imply nothing about subsequent codepoints.