|
For this response I am going to assume ET400 eventually calls Toolbox APIs. If yes then this is possible in v5r1 by using native optimizations. If you tell the Toolbox ProgramCall object that the program is thread safe the Toolbox will directly (on the same thread) call the RPG program. If not marked thread safe the Toolbox object assumes the program should be called in a single threaded job so it will pass the request on to the program call server. The RPG program runs in the server's job. This requires OS/400 v5r1. To get native optimizations use Toolbox classes (add to your classpath) in /qibm/proddata/os400/jt400/lib/jt400Native.jar. David Wall AS/400 Toolbox for Java Attila_Halasz@qui xtar.com To: JAVA400-L@midrange.com Sent by: cc: java400-l-admin@m Subject: Share data in QTEMP between Java & RPG idrange.com 01/28/2002 01:02 PM Please respond to java400-l Hello, I'm calling an RPG program from Java using the ET400 toolkit (the java code is running on the same AS400 as the RPG). Can I share data between the Java and RPG programs via QTEMP? If yes, how? Thanks, Attila _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com 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.