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

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

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
  • 537 views
  • 0 likes
  • 2 in conversation