Larry, > When pulling files using the GET command in FTP from LINUX to VM, the CR/LF is lost and the files end up as one huge line in CMS. Wait, what? Are you pulling from VM or Linux? Try pushing from Linux to z/VM (PUT).
I ran into this about a month ago, and there's a long thread. The bottom line I came up is to use the Linux FTP client, whenever possible. It seems to me that Linux will inject CRs into text files when pushing (PUT) to VM or DOS, and will strip them when pulling (GET). Neither the DOS nor VM FTP clients seem to do this. Here's an example from a RHEL 6.3 Linux: # echo line1 >foo # echo line2 >>foo # od -x foo 0000000 6c69 6e65 310a 6c69 6e65 320a # wc foo 2 2 12 foo # ftp <my VM> ... 220-FTPSERVE IBM VM Level 620 at ... ftp> put foo 14 bytes sent in 2.5e-05 secs (560.00 Kbytes/sec) ftp> quit 221 Quit command received. Goodbye. Note the file was 12 bytes but 14 were sent. I go over to VM and XEDIT the file and see both lines: 00001 line1 00002 line2 Hope this helps. "Mike MacIsaac" <mikemac at-sign us.ibm.com> ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
