> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Warren Taylor > Sent: Friday, February 29, 2008 1:51 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: FTP'd scripts from Linux won't execute > > > 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
What does the output from "od -tx1 <script.file" show? The end of each line should be a x'15'. Sounds like it is not for some reason. What is the line ending on the Linux file? -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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