> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Paul Gilmartin
> Sent: Thursday, March 18, 2010 12:11 PM
> To: [email protected]
> Subject: Re: FTP problem
> 
> On Thu, 18 Mar 2010 11:43:20 -0500, Kirk Wolf wrote:
> >
> >But if you already have an HFS file on z/OS and you want to 
> convert it
> >to a dataset, you can use the todsn command on z/OS:
> >
> >cat ascii.txt | todsn -s ISO8859-1 //HLQ.TEST.DATA
> >
> >Again, the default is to recognize lf, crlf, or cr as a line 
> terminator.
> >
> What about nl, which is the z/OS Unix convention?
> 
> -- gil

The "-s ISO8859-1" tells "todsn" that the data is ASCII and not EBCDIC. I don't 
think any ASCII based system uses the "nl" (aka NEL) character (0x85) as a line 
delimiter because it is not a 7-bit character. Actually, it isn't even ASCII. 
It is Unicode (U+0085).

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

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