× 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 you're interested in seeing how simple the Java call is, I can post the code sample so you can try it out.

I did this remote command call example a couple years back when I did a session on wrapping Java programs with CL to make them more easily consumable by IBMi processes and also to show how surprisingly similar the flow can be with CL calling Java from a command to calling CL and then RPG.

There's still too much (Java / Flipping Hamburgers) bad blood out there.

Just a sec I have to flip a couple burgers..........

You can even compile it from the green screen without any Java knowledge 😊

This method essentially uses the remote command call in JT400 and you can send back a CPF message or two for consumption from the source system if needed. File name or some other info perhaps.

Regards,

Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com

-----Original Message-----
I do not know JAVA or PYTHON or any Web stuff. The remote system does not have any web services running outside of the IBM Admin stuff.

Chris Bipes
Director of Information Services
CrossCheck, Inc.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Tuesday, March 27, 2018 4:34 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Call RPGLE program on another iSeries

Ok Chris, based on Buck's responses, with the addition of Jim's data queue suggestion, which of the following do you (and I realize this may be a shot from the hip) think may do the trick?

Buck:
SQL stored procedure
Remote Procedure Call
SBMNETJOB
SBMRMTCMD
Trigger on a 'special' table on the remote system
Jim:
Data queues
Others (sorry but I deleted many of my responses):
Web Services

My initial shot from the hip would be anything with SBM in it's name would not be the interactive response you're looking for.
The trigger idea would also not be a good command/response pair.

My initial two picks would be SQL Stored Procedures and Data queues. I plead ignorance on remote procedure calls. Web Services may be a fun learning experience and something to add to the tool box but I'd have to have a lot more information to justify going down that road. At Dekko we do some serving, and consuming, of web services. But is done by others who do more day-to-day coding in RPG.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.