BookmarkSubscribeRSS Feed
tony7zx
Calcite | Level 5

I use these code

 

libname CARS515 "/folders/myfolders/HW1/CARS515";
proc import out=CARS515.CARS_DET datatable='CARS_DET' dbms=access replace;

database='/folders/myfolders/Cars_Det.mdb';
run;

 

the error is dbms= access is not working.

 

After I change access to accessCS

the error is

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 proc import datatable='CARS_DET'
57 out=CARS515.CARS_DET dbms=accessCS replace;
58 database='/folders/myfolders/Cars_Det.mdb';
59 run;
 
ERROR: Server Name is invalid or missing.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
 
60
61 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
73
7 REPLIES 7
Reeza
Super User
Try AccessCS and post the full error message.
tony7zx
Calcite | Level 5
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 proc import datatable='CARS_DET'
57 out=CARS515.CARS_DET dbms=access replace;
ERROR: DBMS type ACCESS not valid for import.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds
 
58 database='/folders/myfolders/Cars_Det.mdb';
59 run;
60
61 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
73
tony7zx
Calcite | Level 5
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 proc import datatable='CARS_DET'
57 out=CARS515.CARS_DET dbms=accessCS replace;
58 database='/folders/myfolders/Cars_Det.mdb';
59 run;

ERROR: Server Name is invalid or missing.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
LinusH
Tourmaline | Level 20

The ACCESSCS requires a PC Files Server to function.

Are you running SAS on UNIX/Linux? The a PC Files Server is requires as I recall it.

Data never sleeps
Reeza
Super User
You're using SAS UE? I'm going back on my original suggestion, I think it should be ACCESS only. Can you please post the log from that attempt?
SASKiwi
PROC Star

I agree with Linus. SAS 9.4 needs the SAS PC File Server using ACCESSCS to work on Unix. Please confirm your SAS server is running on Unix/Linux. The operating system is shown at the top of your SAS log when you first start SAS.

 

This link is useful:

 

http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n08xs35g2w8mt1n1dh...

 

Also please confirm that SAS/ACCESS to PC Files is licensed: proc setinit noalias; run;

Reeza
Super User
Just a note that Access files are not mentioned in the fact sheet for UE so you may not be able to import access files using SAS UE.

https://www.sas.com/content/dam/SAS/en_us/doc/factsheet/sas-university-edition-107140.pdf

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

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