× 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.



Folks:

I'm stumped on this one ... I've got a java program that _generally_ works fine ... except if I run it in a CCSID 5026 job.

If I run it in a CCSID 37 or CCSID 5035 (which are generally compatible regarding English characters) it runs fine.

But if I run it in a job with CCSID 5026 it ends with a JVA0122 error with return code 1.

My program does *NOT* do a System.exit(1).

The java program is being invoked with the RUNJVA command.

I've looked at the joblog for the associated QJVACMDSRV job, but it's not showing anything particularly useful (difficult as it was to interpret, considering it was in Japanese).

When I invoke the RUNJVA command from the CL driver program, the values for classpath, classname, & java.version property have been retrieved from message files (tagged with CCSID 37) so they get transcoded to CCSID 5026.

Although I get the same error when I run the program from the command line.

When I run the program with OPTION(*VERBOSE), I can see the appropriate classes getting loaded ... but the class doesn't run.

This is on V5R4 with the classic JVM 1.5.

Any thoughts?

david



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.