BookmarkSubscribeRSS Feed
sg_kr
Obsidian | Level 7

Hi,

 

I have a folder in local machine, where every month set of CSv files will be updated.

Now i want to import all of them and create tables as per their file name .

 

can anyone help on this.

 

 

thanks

2 REPLIES 2
Kurt_Bremser
Super User

By "local machine", do you mean that you have stored the csv files on a machine other than the one where SAS is installed and running?

In this case, you first need to take care that the files are either copied to the SAS machine or that the place where the csv files are stored is somehow "visible" to SAS.

Reeza
Super User
Do you have code to read one file successfully? If so, post that code.

Are all files exactly the same structure?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 488 views
  • 0 likes
  • 3 in conversation