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



Hello,
Good morning everyone, I have an RPGLE program which calls multiple times another RPGLE with calls to JAVA methods in it. This works fine most of the time except when the call number goes to around 349,000 the second program returns with the following error...

MCH74A0 Escape 10 01/17/06 09:35:07.638960 realcftrap2 0011D8 QJVAJNI QSYS *STMT

To module . . . . . . . . . :   QJVAJNI
To procedure  . . . . . . . :   CallStaticObjectMethod
Statement . . . . . . . . . :   3
Message . . . . :   Java program threw an exception.



I am kind of stuck here. I see that the program works fine most of the time but suddenly fails for no reason. Could someone please help me understand what I am doing wrong here...



Here is the basic structure of the calls that are being done...


Program A
=======================
Read File
Dow not EOF
Call Program B
Read File
Enddo
=======================


Program B
=====================
calls to java methods
Return
=====================

If you would like to see the code ...Please let me know.

BTW we are on V5R3 and we are using jdk15

Thank You for your help !!!

VENKAT REDDY



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.