Date: Mon, 9 Feb 2009 16:19:08 -0600
Reply-To: "./ ADD NAME=Data _null_;" <iebupdte@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "./ ADD NAME=Data _null_;" <iebupdte@GMAIL.COM>
Subject: Re: Reading in Multiple files
In-Reply-To: <200902092145.n19KTmlj004180@malibu.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1
Sounds like you could just copy them and give new extension. Or I
don't understand what you want because you did not give enough detail.
Assuming you want/need to do processing with SAS, the INFILE statement
is well equipped for the task. There are two basic methods, wild card
filename specification or FILEVAR=variableName where you supply the
names. Go read about the INFILE STATEMENT it in the DOCs. The give
more details about the processing you need.
On 2/9/09, SUBSCRIBE SAS-L Anonymous <randistan69@hotmail.com> wrote:
> I have to read in multiple files (about 1500) each file with the same file
> extension *.csv. Is there a PIPE function where I can read the files,
> process the data using code and then save it a directory having the same
> file name but with the *.sas extension?
>
|