I'm considering using CPY - not CPYFRMIMPF - to copy the STMF
into a user space - haven't succeeded so far, maybe due to the
things you describe here.
Failing that, I'll use the IFS APIs and be done with it. Once in a
variable in RPG (possibly based on a pointer to the user space), I
can figure out (guess) which encoding it is in. Then run that
transform API, which looks very easy to use.
I'm considering some kind of requirement that would let us use the
FROMCCSID to affect the FROMSTMF.
I see that CPY has a FROMOBJ parameter, and FROMCCSID is used on
that for *TEXT. I think I really want *BINARY.
Will see if that works soon enough, I think.
This mailing list archive is Copyright 1997-2013 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