Date: Mon, 7 Feb 2000 16:39:44 +0100
Reply-To: Jim Groeneveld <J.Groeneveld@ITGROUPS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <J.Groeneveld@ITGROUPS.COM>
Subject: Re: Reading a wide file.
Content-Type: text/plain; charset="iso-8859-1"
Tir,
Just use the LRECL option on the INFILE statement and read the data as
usual, i.e. column and/or formatted input.
Regards - Jim.
--
Y. Groeneveld, MSc IMRO TRAMARKO tel. +31 412 407 070
senior statistician, P.O. Box 1 fax. +31 412 407 080
head IT department 5350 AA BERGHEM IMRO TRAMARKO: a CRO
J.Groeneveld@ITGroups.com the Netherlands in clinical research
My computer now is used long enough to the year ²°°° trap.
> -----Original Message-----
> From: Tirthankar C.P [SMTP:tir@IGIDR.AC.IN]
> Sent: Saturday, February 05, 2000 11:46 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Reading a wide file.
>
> I have a 'wide' file with about 450 characters per line. There are no
> spaces are the elements are just numbers. Actually, the file contains many
> vars which have no spaces in between (to conserve space). How do I read
> such a file?
>
> tia
>
> Tir
>
>
>
>
>
> Tirthankar C.P
> Research Student
> Indira Gandhi Institute of Development Research Phone:91-022-840
> 0919/20/21
> Goregaon East Fax: 91-022-8402027
> Mumbai 400 065 email:-tir@igidr.ac.in
> India.
>
> "Reality is merely an illusion, albeit a very persistent one."
> -Albert
> Einstein
> __________________________________________________________________________
> ______
|