BookmarkSubscribeRSS Feed
Shyamkumar
Calcite | Level 5
Hi All,

Client given Access file to import in the SAS,
I unable to import the data. Kindly help out me, as it is new to me.
4 REPLIES 4
ballardw
Super User

What code have you tried so far?

 

"unable to import the data" is awful vague.

Are there errors in the log?: Post the code and log in a code box opened with the {i} to maintain formatting of error messages.

No output? Post any log in a code box.

Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.

Shmuel
Garnet | Level 18

Searching google for: sas support how to import access database example

listed a great list of result. One of them in this link.

 

Ksharp
Super User
If you has old access file .try libname statement: libname x 'c:\temp\xxx.mdb'; libname x access 'c:\temp\xxx.mdb'; If you have 2007 version access . try proc import: proc import database='c:\temp\xxxx.acce' datatable='yyyy' out=have dbms=access replace; run;
Ksharp
Super User
If you has old access file .try libname statement: libname x 'c:\temp\xxx.mdb'; libname x access 'c:\temp\xxx.mdb'; If you have 2007 version access . try proc import: proc import database='c:\temp\xxxx.acce' datatable='yyyy' out=have dbms=access replace; run;

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
  • 4 replies
  • 716 views
  • 0 likes
  • 4 in conversation