On 24 October 2011 18:20, Shmuel Metz (Seymour J.) <shmuel+ibm-m...@patriot.net> wrote:
> No; the Unix new line indication is LF (X'0A'), For some values of UNIX. > the windoze/DOS new line indication is CRLF (X'0D0A') Yes. > and the z/OS new line indication for EBCDIC is NEL (X'25'). No. EBCDIC does not contain a control character called NEL, despite Wikipedia's claims. The new line indication in z/OS UNIX files is NL, which is at X'15' in all EBCDIC code pages. ASCII does not contain NL or NEL, however the "extended ASCII ISO 8859-n code pages contain a control character called NEL at X'85', which has the same semantics as NL. UNICODE also has NEL at U+0085. > The LF and NEL represent new line, which is logically distinct from CRLF. Logically distinct, how? CRLF and NL/NEL both make sense as a new line value; LF does not. Logically, LF should move to the next line but keep the current column position. LFCR also makes sense, but so few platforms ever used it that it's not worth considering, imho. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html