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