RE: Execute a Unix Shell Script via Mainframe FTP



-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:IBM-MAIN@xxxxxxxxxxx] On Behalf Of Allen Thennes
Sent: Tuesday, July 31, 2007 9:59 AM
To: IBM-MAIN@xxxxxxxxxxx
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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: executing commands from telnet from D3
    ... others using both FTP and SFTP (FTP with SSH). ... 28 ** like changing the permissions prior to execution. ... WRITE FtpSession ON FTPFILE.FV, FtpSessionId ...
    (comp.databases.pick)
  • Re: How to synch my files accross different computer.
    ... script to ftp files from your web site. ... using latex command with a script is the best approach for me. ... I dont want to download my files with every execution of latex command. ...
    (comp.text.tex)
  • Threading for FTP in C#
    ... I've been tempted to do this is because, I am doing some FTP uploads, ... graceful execution and termination. ... I have a class called Transmission that has doFTPUpload method. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Internet Transfer Control not initializing?
    ... a message box before the FTP code and see if it gets executed in both cases. ... > When called by another script I pass a command line argument to be parsed ... > In theory then there is no difference in execution between manual ... I'm using the Internet Transfer Control. ...
    (microsoft.public.vb.controls)