Date: Mon, 1 Dec 2003 17:10:09 -0500
Reply-To: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject: Re: Reading delimited files
I would first try some _INFILE_ magic. Something like:
input @ ;
_infile_ = compress(_infile_,[invalid character values]);
input var1-var85;
On Mon, 1 Dec 2003 13:33:40 -0800, Bill Walton
<william.j.walton@NORDSTROM.COM> wrote:
>I have a tab delimited file with approximately 85 variables, what is
>the easiest way to read in all variables with the exception of
>variables 40-49? I would like to read the first 40 variables, skip
>the next 10, and then read the next 36. There are invalid CR/LF
>characters within variables 40-49 that make it difficult to read all
>columns, so I would like to skip over them.
|