FTP doesn't allow for remote execution of scripts.
Our Co:Z Co-Processing Toolkit allows you to do this (over an SSH
connection).
It also allows the Unix shell script read and write access to MVS
datasets over the same encrypted connection.
Output and return codes from the remote shell script are redirected to
the originating batch job step.
Example:
//COZCB2 JOB (),'COZ'
//STEP1 EXEC PROC=COZPROC,
// ARGS='[EMAIL PROTECTED]'
//STDIN DD *
# Your Unix shell script goes here
fromdsn '//sys1.maclib(acb)' | grep BLKSIZE
//
Kirk Wolf
http://dovetail.com
Allen Thennes wrote:
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
IT- Production Support
Walgreen Co.
(847) 788-4648
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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