ASCII or EBCDIC
|When technology complements business||Copyright © 1987-2014 SimoTime Enterprises All Rights Reserved|
|The SimoTime Home Page|
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.
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.
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 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 umlat (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.
|$||24 or 036||5B or 091||Dollar Sign|
|||80 or 128||20 or 032||Euro Currency|
|¢||A2 or 162||4A or 074||US Cent Symbol|
|£||A3 or 163||B1 or 177||Pound|
|¥||A5 or 165||B2 or 178||Yen|
|¦||A6 or 166||6A or 106||Two-Piece Vertical Bar|
|ß||DF or 223||59 or 089||Strasse, Germany|
|Å||C5 or 197||67 or 103||A-ring|
|å||E5 or 229||47 or 071||a-ring|
|Ç||C7 or 199||68 or 104||letter "C" with cedilla (upper case)|
|ç||E7 or 231||48 or 072||letter "c" with cedilla (lower case)|
|Ø||D8 or 216||80 or 128||O-slash|
|ø||F8 or 248||70 or 112||o-slash|
|Æ||C6 or 198||9C or 156||Diphthong|
|æ||E6 or 230||9E or 158||Diphthong|
|¬||AC or 172||5F or 095||Logical NOT Symbol|
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.
The trademark symbol ™ (a "TM" in superscript) may be placed in an HTML document using the ™ text string.
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 choice of alternatives.
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.
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. 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.
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 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 Enterprises.
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 Enterprises 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-2014 SimoTime Enterprises All Rights Reserved|
|When technology complements business|