A text processor named ConText will convert LF to CRLF and vis vera. It's freeware.
EdP Frank Swarbrick <[email protected]> Sent by: IBM Mainframe Discussion List <[email protected]> 01/29/2009 01:03 PM Please respond to IBM Mainframe Discussion List <[email protected]> To [email protected] cc Subject z/OS receiving of LF only delimited text files We received a file by email that apparently was created and emailed from a *nix type system, because the end of line delimiter is only a linefeed (LF) instead of a CRLF. This cannot be uploaded to z/OS in ASCII mode from a Windows machine because Windows does not recognise LF as end-of-line, and just passes it through as is. The z/OS FTP server also does not recognise LF only as end-of-line, and thus gives me the following error: 451-Record is too long to process 451 Transfer aborted due to file error. Is there any way to force the z/OS FTP server to recognise just LF as the end-of-line delimiter. I see that one can use SITE SBSENDEOL=LF, but this appears to only work when z/OS is *sending* the file, not receiving it. Do we just need to convert the file on Windows before uploading it (changing all lone LF delimiters to CRLF delimiters)? Of course the best solution is to always get files with CRLF delimiters. But when dealing with outside entities this is not always possible. Thanks! Frank ---------------------------------------------------------------------- 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 Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. ---------------------------------------------------------------------- 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

