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



Bruce,

Take a look at RUNRMTCMD.  You'd need the REXEC server started on the remote
host (STRTCPSVR SERVER(*REXEC)).

Note that REXEC is basically a one-way transaction.  You can't get direct
feedback from your remotely executed command.  If you need to be able to
CALL a program, and send/receive parameters across systems, you'll have to
use SQL's CALL command along with a "CONNECT TO" command.

Other alternatives.....
SBMRMTCMD will make use of DDM connections....

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-297-2863 or ext. 1863



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Bruce Collins
Sent: Thursday, December 15, 2005 10:44 AM
To: 'Midrange Systems Technical Discussion'
Subject: Running a Command on a remote AS400 from an AS400



I looked through the archives but did not find it.

I want to be able from one iSeries execute a command on a remote iSeries. I
would like to call an Interactive program on System A and the program
executes a command on the remote system.

If you have a good example I would appreciate it.

Thanks

Hoss


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.