Re: Execute a Unix Shell Script via Mainframe FTP



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='myuid@xxxxxxxxxxxxxxx' //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 listserv@xxxxxxxxxxx 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Mainframe News
    ... I found that Script was easier, because I knew what my output would ... We don't have to care, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Mainframe News
    ... word processing using a PC is easier than using Script was to write documentation. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Friday question: in search of Rexx elegance?
    ... "address 'Junk'" so any unqualified command is a serious error. ... In a TSO script, I write ALLOCATE ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Friday musings on the future of 3270 applications
    ... could use TSO ISPF from a UNIX shell instead of TSO? ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Serverpac Installation guide
    ... HP printers attached via VPS and I don't know script at all, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)