Hi SAS Community,
I would like to import an Access DB from my computer into SAS but SAS is asking for a server address. i tried to use my local IP but nope, didnt like that.
Heres an example of my code. Any ideas or suggestions for me?
Also, i stole an example program so my port is whatever that person had their port set to.
libname myhome "<my actual home folder address>";
PROC IMPORT Table='LS_Training_Tracking_Dashboard'
DBMS=ACCESSCS
OUT= myhome.LS;
DATABASE='C:\Users\222015388\A bunch of databases\LS - Tracking Table.accdb';
Server='what the heck goes here?!?!!?!?';
PORT=9621;
DBDSOPTS='READBUFF=30';
RUN;
DBMS=ACCESSCS means you are referencing the SAS PC Files Server which has to be installed or running either on your PC or on another Windows file server. You can just use DBMS = ACCESS if SAS is actually running on your PC and your Access database is stored there too. Just bear in mind that SAS and Access have to be the same bitness (32-bit or 64-bit) for this to work. If the bitness doesn't match then you will need to revert to ACCESSCS.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.