I am running into an error (RNX0451) when the RPG is trying to reference
a Java object. The error is:
Message . . . . : Conversion between CCSID(10779) and CCSID(819) is
Cause . . . . . : In RPG procedure TEST in programMYLIB/TEST, a
conversion is being done which requires conversion from CCSID(10779)
CCSID(819), but this conversion is not supported.
Recovery . . . : Use command DSPJOB to find the CCSID of your job,
contact the person responsible for program maintenance to determine
cause of the problem.
The RPG codes:
C Eval corrIDObj = crtString(REFID)
d corrIDObj S O Class(*Java:
d crtString PR O EXTPROC(*JAVA:
d RPGBytes 40A Const Varying
D REFID S 40A
We are running JRE 1.5 on iSeries under V5R3. The jar file is created
by Eclipse 3.2.2 under JRE 1.5.0_12 and copied to the IFS folder via
iSeries Navigator. The iSeries environment variables CLASSPATH and
QIBM_RPG_JAVA_PROPERTIES are set correctly.
I don't know where the CCSID issue came from. I created another simple
test class into a different jar file. Have another RPG calls it and it
has no problem.
The CCSID of the jar file on IFS is 1252.
Anyone has any idea? Thanks!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2022 by midrange.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 on our policy page. If you have questions about this, please contact
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.