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 ;

 

The Boston Area SAS Users Group (BASUG) is hosting our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at https://www.basug.org/events.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 255 views
  • 0 likes
  • 2 in conversation