well, its a script so I let it default to ascii. I've been playing and have done a binary transfer but that just turned the file into jibberish.
z/Linux to z/OS Unix is the transfer so all the underlying technology is z/390. ----- Original Message ---- From: "John S. Giltner, Jr." <[EMAIL PROTECTED]> To: IBM-MAIN@BAMA.UA.EDU Sent: Friday, February 29, 2008 12:18:38 PM Subject: 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 [EMAIL PROTECTED] 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 [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