Re: FTP'd scripts from Linux won't execute



Warren Taylor wrote:
Hi folks,

I have a process that builds scripts on Linux to be run on z/OS Unix. The FTP'd scripts, however, don't run. If I use a line editor (ed) to recreate the script on z/OS, it runs fine.

Also, 'ED' sees these FTP'd scripts as having only a single line number...1, followed by one big line, instead of the many actual lines. The file I created on z/OS Unix looks fine.

I'm sure I'm missing the line control character somehow but I'm just confused because its z/Linux to z/OS Unix, both on the mainframe and I don't know if I should transfer EBCDIC or just leave them as ASCII. Not really sure if what I've got to be honest. And z/OS FTP doesn't care much for the ebcdic parm anyway.

I've tried translating (-d '\015') and that doesn't work

can anyone point me at my mistake.

thanks

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


When you ftp to the mainframe are you ftp'ing the scripts as ASCII or BINARY?

----------------------------------------------------------------------
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: FTPd scripts from Linux wont execute
    ... I have a process that builds scripts on Linux to be run on z/OS Unix. ... 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: FTPd scripts from Linux wont execute
    ... I have a process that builds scripts on Linux to be run on ... The file I created on z/OS Unix looks fine. ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • FTPd scripts from Linux wont execute
    ... I have a process that builds scripts on Linux to be run on z/OS Unix. ... 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: FTPd scripts from Linux wont execute
    ... The lines in z/OS for the FTP'd file end in x'25' and the text is now EBCDIC ... FTP'd scripts from Linux won't execute ... 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: TOD Clock
    ... Obviously BOTH methods work, but I seem to remember a reason WHY issuing ... Does it then show correct times in z/OS Unix? ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)