Job CCSID of RPG program is 424
Job CCSID of CPYF is 424 as well
CPYF does seem to work, i.e after CPYFing the (CCSID 1208) input file to a
all-424 file, English & Hebrew are displayed OK and other languages do not.
When doing the same with a RPG program and using debug to look at those
fields, English and Hebrew data looks garbeld meaning an intelligible
string of displayable characters and not just reverse image blocks.
RPG job CCSID is 424 so naturally I expected all Heb & Eng data to be
Oh, and another issue if I may, it looks like German takes 2 byte for each
and Korean 3 bytes per character, is it OK? should I use a different CCSID
(not 1208) ?
date: Mon, 7 Apr 2014 16:39:30 -0500
from: Bruce Vining <bvining@xxxxxxxxxxxxxxx>
subject: Re: RPG CCSID conversion - help needed
Using RPG file IO data management will be converting the 1208 data to your
job CCSID on input and from the job CCSID to 424 on output. If the job
CCSID is 65535 data management will be leaving the data as 1208 on input
and output. What is your job CCSID when running the RPG program? Hopefully
some variant of 424.
By "gibberish" when using CPYF do you mean seeing totally different
characters? I would have expected (though have not used CPYF) to just get
subs (x'3F') for all the non-424 data (most likely just a lot of reverse
image blobs, not random characters/gibberish) -- but then my expectations
and reality do, at times, not line up and become learning opportunities :)
On Mon, Apr 7, 2014 at 2:02 AM, Gad Miron <gadmiron@xxxxxxxxx> wrote:
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
multi multi lingual (English, German, Arabic, Korian, Hebrew, Japanese424)
These fields (Name, Title..) are defined in the DDS with CCSID(1208). the
file itself is
Browsing the file using Access for Web the data look fine.
I CPYFed data from this file to another same-structure standard (CCSID
file and it looks as if conversion to CCSID 424 works OK.data
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
What am I missing? RPG compiler paramaters perhaps?
Being a code page illiterate I do need your help
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives