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



On Tue, Jan 27, 2015 at 3:09 PM, John R. Smith, Jr.
<smith5646midrange@xxxxxxxxx> wrote:
The part we are stumped on is
ideas for how to have the iSeries initiate the Unix job real time.

I agree with the folks who are suggesting Web services.

If I were doing this myself from scratch (i.e. the Unix side doesn't
already have a Web services server), I think I would use RPC instead.
It's not hugely different from Web services, but there are quick
Python recipes (right in the Python documentation!) to make setting
this up ludicrously simple. (My definition of "ludicrously simple" is
"even *I* can do it". ;) You don't have to use Python, you can find
recipes in plenty of languages. I just like to highlight Python
because it doesn't get much exposure in the i community, and it makes
lots of tasks surprisingly simple.

In either case (Web services or RPC), you don't have a "check for
return data; and if not there, wait and check again" step. The
communication is two-way: The i makes the request to the Unix box, the
Unix box sends a response containing the desired result. Very clean,
simple, and fast.

John Y.

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.