|
Jake, You don't need to include .class in your call...take it out and give it a whirl... Shane Cessna iSeries Programmer iSeries WebSphere & Tomcat Administrator North American Lighting, Inc. (618) 662-4483 x2776 shane_cessna@xxxxxxx "Jake M" <jakeroc@xxxxxxxxx> Sent by: java400-l-bounces@xxxxxxxxxxxx 03/16/2006 09:58 AM Please respond to Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx> To "Java Programming on and around the iSeries / AS400" <java400-l@xxxxxxxxxxxx> cc Subject Re: CL calling a Java Class File. Okay, I implemented the following code. PGM RUNJVA CLASS(xlclass.class) ENDPGM but I get the following error. Can somebody please throw some light on this. My .class file runs perfectly on iSeries and it creates the spreadsheet based on a complex SQL query embedded in the java source file. This is the error I am getting. RSE ERROR ==================================================================== CALL PGM(TESTING/SCCL) Application error. JVA0122 unmonitored by SCCL at statement 0000000102, instruction X'0000'. Cause . . . . . : The application ended abnormally because an exception occurred and was not handled. The name of the program to which the unhandled exception is sent is SCCL SCCL SCCL. The program was stopped at the high-level language statement number(s) 0000000102 at the time the message was sent. If more than one statement number is shown, the program is an optimized ILE program. Optimization does not allow a single statement number to be determined. If *N is shown as a value, it means the real value was not available. Recovery . . . : See the low level messages previously listed to locate the cause of the exception. Correct any errors, and then try the request again. ==================================================================== iSeries dump file error ==================================================================== 5722SS1 V5R3M0 040528 CL Program Dump S1029538 3/16/06 9:47:42 Page 1 Job name . . . . . . . . : SURAJ User name . . . . . . . . : SURAJ Job number . . . . . . . : 941831 Program name . . . . . . : SCCL Library . . . . . . . . . : TESTING Statement . . . . . . . . : 102 Module name . . . . . . . : SCCL Procedure name . . . . . : SCCL Messages Message Message >From To Time ID Sev Type Text Program Inst Program Inst 093527 CPF9999 40 Function check. JVA0122 QMHUNMSG *N SCCL *N unmonitored by SCCL at statement 0000000102, instruction X'0000'. Variables Variable Type Length Value Value in Hexadecimal *...+....1....+....2....+ * . . . + . . . . 1 . . . . + . . . . 2 . . . . + (No variables declared in program) * * * * * E N D O F D U M P * * * * * ==================================================================== On 3/16/06, Shane_Cessna@xxxxxxx <Shane_Cessna@xxxxxxx> wrote: > > RUNJVA CLASS('YourClassNameHere') > > Shane Cessna > iSeries Programmer > iSeries WebSphere & Tomcat Administrator > North American Lighting, Inc. > (618) 662-4483 x2776 > shane_cessna@xxxxxxx > > -- > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) > mailing list > To post a message email: JAVA400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/java400-l > or email: JAVA400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. > > > >
As an Amazon Associate we earn from qualifying purchases.
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.