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



If cost wasn't an issue then there are vendor products you could employ with
MQSeries being the most standard.

I am assuming you need to pass parms in _and_ out correct?

Another thing you could do is setup a socket server on the remote machine
and listen for requests with a "router" RPG app that simply hands off data
structures to a keyed data queue where you have an RPG program waiting to
process the input, and appropriately send back output. Or you could just
make it easy on yourself and use Apache to do the same.

Scott just wrote a piece that came out in his newsletter today that is on my
"fun to read" list of articles that I haven't gotten to yet. Looks like it
is might be covering what I described above (i.e. home grown socket server).
http://www.systeminetwork.com/artarchive/newsletter/w/1001/n/5012/i/6830/a/5
5619/The_TCP_IP_Handoff_Server.html

This would actually be a really cool product to create and sell (i.e. RPG to
RPG communication across servers), though I don't know if there would be a
big market for it.

HTH,
Aaron Bartell
http://mowyourlawn.com

-----Original Message-----
From: rpg400-l-bounces+edelong=sallybeauty.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+edelong=sallybeauty.com@xxxxxxxxxxxx]On Behalf Of
DeLong, Eric
Sent: Thursday, September 27, 2007 4:08 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Alternatives for remote program call


No, RPG(sys-a) to RPG(sys-b). I don't really want to use an intermediate
call to do this, but I need to get this going ASAP...

Normally I'd use the SQL call interface to do this, but this is not working
for THIS application, due to the vendor written code that issues a SQL
CONNECT TO command....

The intent is to create a common client that can run on any iSeries to
access a service hosted on one of our boxes.

Eric

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of albartell
Sent: Thursday, September 27, 2007 3:37 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Alternatives for remote program call


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.

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

This thread ...

Follow-Ups:
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.