Write and run SAS programs in your web browser

mdb import on sas studio

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 6
Accepted Solution

mdb import on sas studio

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;


Accepted Solutions
Solution
‎05-21-2016 04:41 PM
Esteemed Advisor
Posts: 6,634

Re: mdb import on sas studio

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers

View solution in original post


All Replies
Solution
‎05-21-2016 04:41 PM
Esteemed Advisor
Posts: 6,634

Re: mdb import on sas studio

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Occasional Contributor
Posts: 6

Re: mdb import on sas studio

Thank You Tom!

Occasional Contributor
Posts: 6

Re: mdb import on sas studio

Thank You KurtBremser!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 239 views
  • 2 likes
  • 2 in conversation