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