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

I am new to sas and sas studio. Trying to import data from access2000 dabase but it is importing the data.

Getting error : no localhost found and running on sas studio linux x64 VM.

 

Could you please help ?

 

proc import dbms=accesscs
            out=WORK.IMPORT  replace
            table='history';
   port=8621;
   server="localhost";
   database='/folders/myfolders/abc/data.mdb';
run;


database='/folders/myfolders/abc/data.mdb';
run;

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

Importing .mdb files requires Microsoft Data Access Objects, which is only available on Windows. Since SAS UE runs in a Linux VM, you won't be able to do this. Export from Access to .csv, and import that.

"localhost" within the UE VM adresses the VM itself, and not the PC Files server.

View solution in original post

3 REPLIES 3
Kurt_Bremser
Super User

Importing .mdb files requires Microsoft Data Access Objects, which is only available on Windows. Since SAS UE runs in a Linux VM, you won't be able to do this. Export from Access to .csv, and import that.

"localhost" within the UE VM adresses the VM itself, and not the PC Files server.

rajasekharba
Fluorite | Level 6

Thank You Tom!

rajasekharba
Fluorite | Level 6

Thank You KurtBremser!

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 3 replies
  • 2740 views
  • 2 likes
  • 2 in conversation