BookmarkSubscribeRSS Feed
Chip
Calcite | Level 5
Is there a way to import all Microsoft Access tables found within a network folder without naming them specifically? I will have a monthly folder that will be populated with several access databases. I need to read them all in but I'd prefer not to have to change the code each month to specifically name each database.

Thanks!
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Chip:
You might try checking out this PROC IMPORT sample program on the Tech Support site. It shows how to read files from a directory and then use PROC IMPORT on the files.

Sample 157: Reading multiple files with PROC IMPORT http://support.sas.com/ctx/samples/index.jsp?sid=157

cynthia

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Discussion stats
  • 1 reply
  • 762 views
  • 0 likes
  • 2 in conversation