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




Don't use AS400ProgramCalls. Where an RPG program is calling java, the java is running in the same job as RPG; use QTEMP like you would any other library. QTEMP belongs to the job. Same should work for CLLE when you work with java as an ILE procedure. It wouldn't work using the JAVA command as that will start JAVA in a new job. I'm not up to date on CLLE and I don't know all the specs for using java as a CL procedure.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Thorbjoern Ravn Andersen
Sent: Wednesday, March 31, 2010 2:27 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Invoking Java by programmatically calling a JVM to get resultvalues

Den 31/03/10 20.55, Dan Kimmel skrev:
I like Joe Sam's message queue idea. I hadn't thought of that one.

If the values to be returned are fairly static, I like to use data areas. Easy to SUBSTRING in CL. Put them in QTEMP so they're in memory. JT400(JTOpen) has all the code.


We have found that QTEMP is not available for the AS400 ProgramCalls as they happen in a prestarted job, not the Java process itself. Do you know a trick to do this?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.