I am not entirely understanding the scenario.
Are you trying to call from Java on machine1 to RPG on machine2? Or is it
vice versa? Or both? I got the feeling it was both based on the first and
last paragraphs.
Aaron Bartell
http://mowyourlawn.com
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of DeLong, Eric
Sent: Thursday, September 27, 2007 3:21 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Alternatives for remote program call
I have the need to remotely call a program with full bi-directional
parameter support. My first thought was to use SQL (Connect to xxx; CALL
nnnnn (:p1, :p2, :p3)) to invoke this program, but as it turns out, that
called program issues a SQL CONNECT TO. This is not allowed, it seems.....
I'm trying to consider alternatives, but so far I'm not finding much....
I was wondering if it would be possible to write a Java program that would
use the Java Toolbox to remotely call my RPG. I am not very familliar with
the Java Toolbox, so I'm not sure it it even supports bi-directional
parameters. Has anyone done something like this?
Thanks for any ideas...
Eric
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.