× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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
not
supported.

Cause . . . . . : In RPG procedure TEST in programMYLIB/TEST, a
conversion is being done which requires conversion from CCSID(10779)
to
CCSID(819), but this conversion is not supported.

Recovery . . . : Use command DSPJOB to find the CCSID of your job,
then
contact the person responsible for program maintenance to determine
the
cause of the problem.


The RPG codes:
C Eval corrIDObj = crtString(REFID)

where
d corrIDObj S O Class(*Java:
d 'java.lang.String')
d crtString PR O EXTPROC(*JAVA:
d 'java.lang.String':
d *CONSTRUCTOR)
d CLASS(*JAVA:'java.lang.String')
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!

Denny Chu


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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 [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.