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



I'd agree that a web service or SQL stored procedure would be a better
solution...

However, assuming neither are available and that you really have to "kick
off a job" on the Unix box.

Then I suggest starting a remote execution daemon (REXECD) on the Unix box.
Your Unix OS probably has one already, if not there are open source ones.

After that, it's a simple matter of using the IBM i build in remote
execution client (REXEC) aka RUNRMTCMD.

Note that REXE is a plain text service, so passwords are sent unencrypted.
If that's a problem, you'd want to look at ssh.

Charles

On Tue, Jan 27, 2015 at 3:09 PM, John R. Smith, Jr. <
smith5646midrange@xxxxxxxxx> wrote:

We have series of programs that run on the iSeries. They need to kick off
a
job on a Unix box which does some calculations (we don't have the data on
the iSeries) and sends the results back. The part we are stumped on is
ideas for how to have the iSeries initiate the Unix job real time. This
really must be real time (they don't even want a 5 second delay) because
the
user is waiting on the return data to complete their job.



1) iSeries user job builds data request to be processed by Unix

2) Unix job processes the data request and returns the results to the
iSeries

3) iSeries user job check for return data and if not there, delays for
a few seconds and then tries again.



There might be programs in between these steps to load or unload a file,
etc. but these are the critical pieces.



Any thoughts?

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.