LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2009, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: SUBSCRIBE SAS-L Anonymous <randistan69@hotmail.com>
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? >


Back to: Top of message | Previous page | Main SAS-L page