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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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