BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
afyodor
Calcite | Level 5

Unix SAS 9.4 64-bit

SAS EG on Windows with Office 365 64-bit, running SAS PC Files Server (Microsoft Access Database Engine installed too)

 

libname mydb pcfiles port=9621 server="AAA-BBBBB" path="/home/users/bbbbb/accessDB.MDB";

 

ERROR: Unable to resolve host name specified by SERVER=.
ERROR: Error in the LIBNAME statement.

 

Questions:

Does the access file need to be on the server or on the windows machine? I tried both.

The server option by default is the machine name, correct?

What am I doing wrong?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

The MS Access file must be accessible to the SAS PC Files Server so it would make more sense for it to be on your PC. The server name should be the network (host) name for your PC. It must be accessible from the SAS Unix server. You should be able to use the ping OS command on the SAS server - ping YourPCName - to see if it can identify your PC. If it doesn't work you will need to talk to your IT Network folks to fix it. 

View solution in original post

2 REPLIES 2
SASKiwi
PROC Star

The MS Access file must be accessible to the SAS PC Files Server so it would make more sense for it to be on your PC. The server name should be the network (host) name for your PC. It must be accessible from the SAS Unix server. You should be able to use the ping OS command on the SAS server - ping YourPCName - to see if it can identify your PC. If it doesn't work you will need to talk to your IT Network folks to fix it. 

afyodor
Calcite | Level 5

Thank you SASKiwi, this makes perfect sense now that you spelled it out.

My PC is not in fact accessible from the SAS Unix server.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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