> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Kirk Wolf > Sent: Thursday, March 18, 2010 11:43 AM > To: [email protected] > Subject: Re: FTP problem >
<snip> > 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 I award you the coveted "Useless Use Of cat" award. <grin/> It would be more CPU efficient to do: todsn -s ISO8859-1 //HLQ.TEST.DATA <ascii.txt > > Again, the default is to recognize lf, crlf, or cr as a line > terminator. > > Kirk Wolf > Dovetailed Technologies > http://dovetail.com -- 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

