Help using Base SAS procedures

Importing 100 Text Files

Reply
Not applicable
Posts: 0

Importing 100 Text Files

In a folder i am having 35 text files with same variables how can i import all that text files .
Super Contributor
Super Contributor
Posts: 3,176

Re: Importing 100 Text Files

Posted in reply to deleted_user
Take a few minutes to search the SAS Discussion Forums archives. You will find more than one related post - here's just one example:

http://support.sas.com/forums/thread.jspa?messageID=19482


Scott Barry
SBBWorks, Inc.
SAS Employee
Posts: 183

Re: Importing 100 Text Files

Posted in reply to deleted_user
You can read all 35 files without using macros - just use FILEVAR= in your infile statement in your datastep.
Ask a Question
Discussion stats
  • 2 replies
  • 165 views
  • 0 likes
  • 3 in conversation