Does anyone got an EBCDIC / ASCII conversion array for special char ? (i
mean char like à é ù ç, etc ...)
I know it's just an array : one EBCDIC char mean one other ASCII char.
Sorry for my poor english, hope you understood.
Thanks for an answer.
a b <a...@b.com> wrote in message news:9j9ibk$bob$1...@reader1.imaginet.fr...
http://as400bks.rochester.ibm.com/html/as400/v5r1/ic2924/index.htm?info/cl/crttbl.htm
*
* parameter list QDCXLATE
D YIOBuffLen S 5P 0
D YIOBuffer S 8192A
D YTranTable S 10A
*
* convert AS/400 273 to PC 850
C Eval YIOBuffLen = %size(%trimr(Y9WBuffer))
C Eval YIOBuffer = Y9WBuffer
C Eval YTranTable = 'Q273337850'
*
C CALL 'QDCXLATE'
C PARM YIOBuffLen
C PARM YIOBuffer
C PARM YTranTable
*
In order to find a matching translation table go to QUSRSYS and list
all *TBL objects that start with Q + yourAS400LanguageID. So I would
list all objects that start with Q273* for German.
The result would be:
Q273 *TBL
Q273A0MA5K *TBL
Q273A05A5U *TBL
Q273A7RA3B *TBL
Q273BFA4H *TBL
Q273BF437 *TBL
Q273BF850 *TBL
Q273BF856 *TBL
Q273337256 *TBL
Q273337437 *TBL
Q273337850 *TBL
Q273697037 *TBL
If I wanted to go to a PC then I would use Q273337850 since 850 is the
language ID for PC ASCII.
Hope it helps.
Thomas Raddatz
a b schrieb:
--
*=====================================================*
e-mail Adresse:
Thomas....@tools400.de
Homepage:
http://www.tools400.de
*=====================================================*