BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
rkolupoti9001
Calcite | Level 5

Hi, Am having a set files like master_1,master_2,master_3.........,master_n in access database.Can we import them all at a time something like master%.

Thanks in advance!!!!

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Using the LIBNAME access to your database

LIBNAME mdb ACCESS "pathtodatabase\databasename.accdb" ; or mdb as appropriate

Data Mysasdatsset;

     set mdb.master: ;

run;

might do it

View solution in original post

4 REPLIES 4
ballardw
Super User

Do you want to import them into the same dataset or individual sets?

rkolupoti9001
Calcite | Level 5

Into same dataset

ballardw
Super User

Using the LIBNAME access to your database

LIBNAME mdb ACCESS "pathtodatabase\databasename.accdb" ; or mdb as appropriate

Data Mysasdatsset;

     set mdb.master: ;

run;

might do it

rkolupoti9001
Calcite | Level 5

It worked Thank you!!!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 4 replies
  • 1677 views
  • 0 likes
  • 2 in conversation