BookmarkSubscribeRSS Feed
wilman12
Calcite | Level 5

I am trying to import a table in access into SAS, but am not having much luck. Here is the import statement I am using which does not work. I've also tried to use the import wizard but I keep getting the error message - OLEDB Connection Problem. Any inisights??

 

PROC IMPORT OUT=WORK.AcctMarketList
DATATABLE='tblAcctMarketList'
DBMS=ACCESS REPLACE;
database=".......Management\TABLES.mdb";
RUN;

1 REPLY 1
Quentin
Super User

Your PROC IMPORT code looks good to me.

 

Can you please post the full error message?

 

What version of SAS are you running, and it looks like you're running on Windows?

 

What do you get in the log if you try to use a libname statement to connect, e.g.:

libname foo access "...Management\TABLES.mdb" ;
proc datasets library=foo ;
run ;

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 505 views
  • 0 likes
  • 2 in conversation