On Wed, 28 Jun 2006 08:05:14 -0500, McKown, John wrote:

>> -----Original Message-----
>> From: IBM Mainframe Discussion List
>> [mailto:[EMAIL PROTECTED] On Behalf Of Bill Godfrey
>> Sent: Tuesday, June 27, 2006 10:42 PM
>> To: IBM-MAIN@BAMA.UA.EDU
>> Subject: Re: Character set conversoin headaches
>>
>>
>> Correction: That should be CRLF to LF.
>>
>> Bill
>
>Perhaps I'm confused, but I am fairly sure that z/OS UNIX text files are
>delimited by the x'15' code point. This is not an LF (Line Feed). It is
>a NL (New Line). All other UNIX systems use LF (Ascii x'0A') as the "end
>of line" delimited. IBM for some reason chose NL. An EBCDIC LF is 0x25.

I see what you're saying. Actually if one refers only to the conversion 
done by the "-q" switch in the "pax" command, which is independent of the 
switches for conversion to EBCDIC, the conversion is CRLF to LF. In tests 
I ran with pax on z/OS, specifying -q without the EBCDIC conversion 
changed CRLF (od0a) to LF (oa) and left everything else unchanged ASCII. 
Adding the switch for EBCDIC conversion converts the LF to NL, as you 
say.  The net effect of both switches together is indeed CRLF to NL.

Bill

----------------------------------------------------------------------
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

Reply via email to