Date: Wed, 24 Oct 2001 23:10:23 +0200
Reply-To: "T." <t@ACM.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "T." <t@ACM.ORG>
Organization: T-Online
Subject: Re: Reading in a long input file - 89Megs long that is..
Content-Type: text/plain; charset=ISO-8859-1
Did you try to treat your file as binary file? Using the appropriate Infile
RECFM?
(I'm not sure, could be RECFM=N).
You could e. g. try to read your columns directly or read a character variable
of length 1,
concatenate it to another "row" charvar, write/put this to a file, and open
this file for
"normal" processing.
T.
rob@aechidna.com (Rob James) wrote:
>I have a 89 meg ASCII file that consists of a number of observations.
>No problem, right? Except that someone wrote the file as it was going
>to a tape, no carriage between observations, just one very long line
>with multiple observations on the line -- 42000 observations to be
>more or less precise!
>
>Fileref does not like blksizes of 89 Megs, and various attempts at
>input statements with long character variables and @ or @@ terminators
>have not worked.
>
>Anyone care to offer any good ideas within SAS, as opposed to writing
>something outside of SAS?
>
>Thanks,
|