Or a classic use case for remote data queues.
Program on both sides monitors a queue. Source sends a command it needs run
on the target on the data queue. Queue program picks it off the queue and
does what it needs to do, then sends confirmation back to the source with a
status.
Way easier than a web service and faster by a whole bunch.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul
Roy
Sent: Monday, March 26, 2018 4:14 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Call RPGLE program on another iSeries
looks like a webservice ...
From: Christopher Bipes <chris.bipes@xxxxxxxxxxxxxxx>
To: "'midrange-l@xxxxxxxxxxxx'" <midrange-l@xxxxxxxxxxxx>
Date: 26/03/2018 22:53
Subject: RE: Call RPGLE program on another iSeries
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Thank you,
Yes, the program needs to wait for the remote call to complete and then
continue on to process the response.
Basically the program creates and XML file for processing, the remote system
processes the file, then the local system processes the response file.
The files are on the initiating systems IFS. It can be shared so the remote
system can read / write to the directory.
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Buck
Calabro
Sent: Monday, March 26, 2018 1:37 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Call RPGLE program on another iSeries
On 3/26/2018 4:28 PM, Christopher Bipes wrote:
How can one call a RPGLE program that resides on another iSeries? They
are on the same LAN. They are connected via Any Net / Enterprise
Extenders.
Starting the discussion:
SQL stored procedure
Remote Procedure Call
SBMNETJOB
SBMRMTCMD
Trigger on a 'special' table on the remote system
The solution set varies if the caller needs an answer, or if it only
needs to kick off a remote process.
As an Amazon Associate we earn from qualifying purchases.