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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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
  • 544 views
  • 0 likes
  • 3 in conversation