I have used it to get data back from the HMC. If the pgm outputs to stdout you are ok.



Bryan

Charles Wilt wrote on 1/27/2015 4:15 PM:
Jon,

I didn't look at the code, but from reading the page Scott's UNIXCMD isn't
designed to sent the command to a remote system...

From what I can see, it's more or less a way to easily get the response
output to stdout by a QSH/PASE program into RPG. Wouldn't be of any use to
the OP.


Charles

On Tue, Jan 27, 2015 at 3:24 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Not used it for this purpose but Scott Klement’s UNIXCMD (
http://www.scottklement.com/unixcmd/) might be useful here - at least to
take care of some of the plumbing. It is designed for PASE/QSH connections
but from there you could initiate the job etc.

On the other hand can’t you just do this by initiating the jobs via a
direct FTP link? In which case FTPAPI may be what you need (
http://www.scottklement.com/ftpapi/).


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

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


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