Date: Thu, 13 Apr 2006 02:41:09 -0400
Reply-To: Jim Groeneveld <jim2stat@YAHOO.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim2stat@YAHOO.CO.UK>
Subject: Re: Convert ASCII file on mainframe to FB
Hi John,
Maybe the (DOS/Windows) program DATAFIX is what you need. If restructures
records by changing end-of-line characters (0D0A) in an ascii (text) file.
http://home.hccnet.nl/jim.groeneveld/software/data/datfx231.zip
http://home.hccnet.nl/jim.groeneveld/software/data/Datafix.txt
Regards - Jim.
--
Jim Groeneveld, Netherlands
Statistician, SAS consultant
home.hccnet.nl/jim.groeneveld
On Wed, 12 Apr 2006 11:02:45 -0700, John Mattson
<John_Mattson@EA.EPSON.COM> wrote:
> When you FTP an ASCII file using Binary format to MVS mainframe
>you get a VB file with the multiple ASCII records on the MVS record with
>the last record continued on the next record. (Assuming the ASCII record
>length is less than 32K, the MVS limit.). Does anyone have a routine to
>read these ASCII files which has records delimited by x'0D0A' and write
>out MVS sequential files with one ascii record per MVS record? No
>ascii/ebcdic translation needed here. No 32K record limitation in this
>case.
|