> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Allen Thennes
> Sent: Tuesday, July 31, 2007 9:59 AM
> To: [email protected]
> Subject: Execute a Unix Shell Script via Mainframe FTP
> 
> 
> I am trying to execute a Unix Shell Script from the Mainframe 
> via a FTP 
> process. 
> 
> Can it be done?
> 
> If so, can you provide a sample setup. 
> 
> Regards,
> 
> Allen Thennes

No. Ftp can only transfer files. It cannot initiate any "remote
execution". REXEC does remote execution. You can also use "ssh" to do
that as well. FTP could be used to submit a job which could then run a
script. But that would be asynchronous to the execution of the ftp and
would not return any results to the ftp session.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to