Link to home
Start Free TrialLog in
Avatar of kingasa
kingasa

asked on

EBCDIC conversion tables.

Hi,

Where can I find an EBCDIC conversion tables for all the languages the AS400 support.



    Toda.
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Hi Kingasa,

Look on this sites for the complete translation-table:
http://www.pgh.net/~newcomer/ebcdictoascii1.htm
http://www.jbmelectronics.com/e2a.htm
http://rauschma.de/download/ascii.html

Extra information for BASIC/C/C++/COBOL you can find here:
http://www.flexus.com/ebd2asc.html 

If you mean all "computer"-languages... they all use this conversion table (ther is only one table).
If you mean "speaking"-langages.... they all use also this conversion table, except the DBCS character sets.
But as far as I know, there is no translation possible between EBCDIC and DBCS, because EBCDDIC has not enough characters to do that (otherwise there is no need for "Double Byte".)

Regards!!!
Avatar of kingasa
kingasa

ASKER

I ment the speake/write languages
for example because the number of letters are different from one language to another.
EBCDIC-x'E9 = ASCII-Z for english what if I use Hebrew or Germano or Spanish .....

How do I know what the x'E9 equals in other languages



    Toda
Oke because Ebcdic has not the same extended characterset (x'F0'and up) as ASCII. EBCDIC has no stupid lines and arrows etc. but all usefull characters. So all the regular characters for langages from Norway to Spain and from England to Romenia are standard available in the one and only EBCDIC set.


As far as i know is ASCII based on a 26 character alphabet so it is never compatible with DBCS, Hebrew, Chinees. Japanees, Rusian, Arabic, etc.

look for details: http://www.pgh.net/~newcomer/ebcdictoascii1.htm
kingasa, The interpretation of the Ebcdic values into understandable language characters is done via Language ID's and Country Codes (and of course CCSID's) of the objects that are storing the data. Default values are stored at machine level (QCCSID, QCNTRYID, QLANGID)  , but Jobs, Files etc can all have a variety of values. This can get very complicated and can cause absolute headaches when trying to compile programs as source files could have a different interpretation between machines espescially when restored. IBM has some good examples on how this works and also tables that relate CCSID to PC Code pages. If you are a regular user of this site see some of the other questions for the Link.
ASKER CERTIFIED SOLUTION
Avatar of Member_2_213957
Member_2_213957
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial