MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 2014

RPG CCSID conversion - help needed



fixed

Hello pundits

We are using a home grown Java utility to upload (to the IBM i) external
csv transactions report files where some of the fields are variable length
multi multi lingual (English, German, Arabic, Korian, Hebrew, Japanese
etc..)
These fields (Name, Title..) are defined in the DDS with CCSID(1208). the
file itself is
CCSID 424

Browsing the file using Access for Web the data look fine.

I CPYFed data from this file to another same-structure standard (CCSID 424)
file and it looks as if conversion to CCSID 424 works OK.
i.e English and Hebrew displays correctly on a green screen emulation
terminal and other languages looks "Gibberish"

Now, when using RPG to do the same, i.e reading the file and writing to
another standard 424 file, conversion does not seems to work and all data
looks garbled.

What am I missing? RPG compiler paramaters perhaps?

Being a code page illiterate I do need your help

Gad





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact