ASCII or EBCDIC
The following conversion table is provided as a reference for ASCII and EBCDIC translation. When moving information (files or data buffers) between EBCDIC machines and ASCII machines it is quite often necessary to convert the information. If the data strings contain only display or printable characters then it is a straightforward, byte-for-byte conversion. However, in the real world the actual conversion of data strings between the ASCII and EBCDIC encoding schemas is usually more complicated than a simple byte-for-byte conversion. For example, if the data strings contain packed or binary data or control information then the data conversion becomes content sensitive.
The translation of records or data strings within a file may be an explicitly defined task or it may be done as part of a file transfer process when files are being moved between systems that use different encoding schemas. If a data conversion is done by the file transfer process the data should be reviewed to ensure that special characters (currency symbols, the copyright symbol, the trademark symbol and more) are correctly converted.
For more information about the automated or programmatic conversion between EBCDIC and ASCII refer to the Downloads and Links to Similar Pages at the end of this document.
We have made a significant effort to ensure the documents and software technologies are correct and accurate. We reserve the right to make changes without notice at any time. The function delivered in this version is based upon the enhancement requests from a specific group of users. The intent is to provide changes as the need arises and in a timeframe that is dependent upon the availability of resources.
Copyright © 1987-2016
All Rights Reserved
The following is the ASCII and EBCDIC translation tables. In addition to the ASCII and EBCDIC values the following tables include the decimal, hexadecimal and binary values.
|(Next) (Previous) (Table-of-Contents)||( Decimal 000-031 ) ( Hexadecimal 00-1F )|
|(Next) (Previous) (Table-of-Contents)||( Decimal 032-063 ) ( Hexadecimal 20-3F )|
|(Next) (Previous) (Table-of-Contents)||( Decimal 064-095 ) ( Hexadecimal 40-5F )|
|(Next) (Previous) (Table-of-Contents)||( Decimal 096-127 ) ( Hexadecimal 60-7F )|
|(Next) (Previous) (Table-of-Contents)||( Decimal 128-159 ) ( Hexadecimal 80-9F )|
|(Next) (Previous) (Table-of-Contents)||( Decimal 160-191 ) ( Hexadecimal A0-BF )|
|(Next) (Previous) (Table-of-Contents)||( Decimal 192-223 ) ( Hexadecimal C0-DF )|
|(Next) (Previous) (Table-of-Contents)||( Decimal 224-255 ) ( Hexadecimal E0-FF )|
|0-31 | 32-63 | 64-95 | 96-127 | 128-159 | 160-191 | 192-223 | 224-255|
|00-1F | 20-3F | 40-5F | 60-7F | 80-9F | A0-BF | C0-DF | E0-FF|
The following tables are provided as a matter of convenience. The symbols are included in the preceding table but may be easier to find in the smaller tables that follow.
The following table shows the ASCII and EBCDIC values for the alternate symbols of the Acute, Circumflex, Grave, Tilde and Umlaut. The "Courier New (fixed font)" and "Times Roman (proportional font)" fonts will display the following charactes.
Note: In the preceding table the "Y" character with an umlaut (both upper and lower case characters of Ÿ and ÿ) may affect program logic that is dependent on a High-Values or HEX "FF" content.
The following table shows the ASCII and EBCDIC values for currency symbols and more of the alternate symbols. The "Courier New (fixed font)" and "Times Roman (proportional font)" fonts will display the following characters.
|$||x'24' or 036||x'5B' or 091||Dollar Sign|
|||x'80' or 128||x'20' or 032||Euro Currency|
|¢||x'A2' or 162||x'4A' or 074||US Cent|
|£||x'A3' or 163||x'B1' or 177||Pound|
|¥||x'A5' or 165||x'B2' or 178||Yen|
|¦||x'A6' or 166||x'6A' or 106||Two-Piece Vertical Bar|
|ß||x'DF' or 223||x'59' or 089||Strasse, Germany|
|Å||x'C5' or 197||x'67' or 103||A-ring|
|å||x'E5' or 229||x'47' or 071||a-ring|
|Ç||x'C7' or 199||x'68' or 104||letter "C" with cedilla (upper case)|
|ç||x'E7' or 231||x'48' or 072||letter "c" with cedilla (lower case)|
|Ø||x'D8' or 216||x'80' or 128||O-slash|
|ø||x'F8' or 248||x'70' or 112||o-slash|
|Æ||x'C6' or 198||x'9E' or 158||Diphthong|
|æ||x'E6' or 230||x'9C' or 156||Diphthong|
|¬||x'AC' or 172||x'5F' or 095||Logical NOT|
|©||x'89' or 169||x'B4' or 180||Copyright|
|®||x'AE' or 174||x'AF' or 175||Registered Trademark|
|X™||x'99' or 153||Unknown||Trademark (Superset TM)|
Note: The ASCII and EBCDIC columns of the preceding table show the two-byte hexadecimal notation or the three-digit numeric value for the symbol.
The copyright symbol © (a circled "C" Character) may be placed in an HTML document using the © text string. The Registered Trademark symbol ® (a circled "R" Character) may be placed in an HTML document using the ® text string.
Another way to accomplish the task is to use the following.
The copyright symbol © (a circled "C" Character) may be placed in an HTML document using the © text string.
The Registered Trademark symbol ® (a circled "R" Character) may be placed in an HTML document using the ® text string.
Note: The Copyright symbol for ASCII-encoding is 169 or x'89'. The copyright symbol for EBCDIC-encoding is 180 or x'B4'.
Note: The Registered Trademark symbol for ASCII-encoding is 174 or x'AE'. The Registered Trademark symbol for EBCDIC-encoding is 175 or x'AF'.
The trademark symbol ™ (a "TM" in superscript) may be placed in an HTML document using the ™ text string.
Another approach would be to use the <sup>TM</sup> for HTML documents. This would produce the following results - My_SymbolTM.
The purpose of this document is to provide a quick reference for ASCII and EBCDIC translation. This document may be used as a tutorial for new programmers or as a quick reference for experienced programmers.
In the world of programming there are many ways to solve a problem. This document and the links to other documents are intended to provide a greater awareness of the Data Management and Application Processing alternatives.
The documentation and software were developed and tested on systems that are configured for a SimoTime environment based on the hardware, operating systems, user requirements and security requirements. Therefore, adjustments may be needed to execute the jobs and programs when transferred to a system of a different architecture or configuration.
SimoTime Services has experience in moving or sharing data or application processing across a variety of systems. For additional information about SimoTime Services or Technologies please send an e-mail to: email@example.com or call 415 883-6565. We appreciate hearing from you.
Permission to use, copy, modify and distribute this software, documentation or training material for any purpose requires a fee to be paid to SimoTime Enterprises. Once the fee is received by SimoTime the latest version of the software, documentation or training material will be delivered and a license will be granted for use within an enterprise, provided the SimoTime copyright notice appear on all copies of the software. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Enterprises.
SimoTime Enterprises makes no warranty or representations about the suitability of the software, documentation or learning material for any purpose. It is provided "AS IS" without any expressed or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. SimoTime Enterprises shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software, documentation or training material.
This section includes links to documents with additional information that are beyond the scope and purpose of this document. The first group of documents may be available from a local system or via an internet connection, the second group of documents will require an internet connection.
Note: A SimoTime License is required for the items to be made available on a local system or server.
The following links may be to the current server or to the Internet.
Explore the Principles of Data File Conversion. This link includes guidelines for defining requirements and determining the scope of effort for a data conversion effort.
Explore How to Generate a Data File Convert Program using simple specification statements in a Process Control File (PCF). This link to the User Guide includes the information necessary to create a Process Control File and generate the COBOL programs that will do the actual data file conversion. The User Guide contains a list of the PCF statements that are used for the data file convert process.
Explore The Binary or COMP format for numeric data strings. This numeric structure is supported by COBOL and may be explicitly defined with the "USAGE IS COMP" or "USAGE IS BINARY" clause.
Explore The Edited for Display format for numeric data strings. This numeric structure is supported by COBOL and may be used with an edit-mask to prepare the presentation for readability by human beings.
Explore The Packed-Decimal or COMP-3 format for numeric data strings. This numeric structure is supported by COBOL and may be explicitly defined with the "USAGE IS COMP-3" clause.
Explore The Zoned-Decimal format for numeric data strings. This numeric structure is the default numeric for COBOL and may be explicitly defined with the "USAGE IS DISPLAY" clause.
Explore commonly used formats and processing techniques for managing various numeric formats available on the mainframe.
Explore the Numbers Connection for additional information about the structure and processing of numeric data items (or numeric fields).
Explore the cycle of converting and transferring non-relational data files between an IBM Mainframe System and a Windows, Linux or UNIX System. This discussion will leverage the non-relational file support provided by Micro Focus for the distributed systems.
Explore a typical data file conversion process that may be required when working in a multi-system environment. This suite of documents describes a model for managing non-relational data structures (Sequential Files and VSAM Data Sets) that contain ASCII or EBCDIC text strings and various numeric formats such as BINARY, PACKED-Decimal and ZONED-Decimal. This model has the capability of creating a test file for an ASCII or EBCDIC encoded environment. This suite of documents will address many of the challenges of doing a record content conversion of a file that will be transferred between an EBCDIC-encoded Mainframe System and an ASCII-encoded Linux, UNIX or Windows System.
Explore The File Status Return Codes to interpret the results of accessing VSAM data sets and/or QSAM files.
The following links will require an internet connection.
A good place to start is The SimoTime Home Page via Internet Connect for access to white papers, program examples and product information.
Explore The Micro Focus Web Site via Internet Connect for more information about products and services available from Micro Focus.
Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.
This document was created and is copyrighted and maintained by SimoTime Technologies.
If you have any questions, suggestions, comments or feedback please call or send an e-mail to: firstname.lastname@example.org
We appreciate hearing from you.
Founded in 1987, SimoTime Technologies is a privately owned company. We specialize in the creation and deployment of business applications using new or existing technologies and services. We have a team of individuals that understand the broad range of technologies being used in today's environments. This includes the smallest thin client using the Internet and the very large mainframe systems. There is more to making the Internet work for your company's business than just having a nice looking WEB site. It is about combining the latest technologies and existing technologies with practical business experience. It's about the business of doing business and looking good in the process. Quite often, to reach larger markets or provide a higher level of service to existing customers it requires the newer Internet technologies to work in a complementary manner with existing corporate mainframe systems.
Whether you want to use the Internet to expand into new market segments or as a delivery vehicle for existing business functions simply give us a call or check the web site at http://www.simotime.com
|ASCII or EBCDIC, Translation Tables|
|Copyright © 1987-2016
All Rights Reserved
|When technology complements business|