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

Today I run a project that has %include statement and libname statement, it works fine.

 

Then I created a new project with those two statements, but both of them didn't work. 

 

The error message for statement "%include "C:\user\xxx\abc.sas"; " is 

WARNING: Physical file does not exist, /opt/sas/config/Lev1/SASApp/C:\Users\xxx\abc.sas.
ERROR: Cannot open %INCLUDE file C:\Users\xxx\abc.sas.

 

The error message for statement "libname test "C:\user\xxx";" is

NOTE: LIbrary TEST does not exist.

 

Both the exactly same statements work fine in the other project.

 

Does anyone have some clue about it?

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

I doubt the "project' has anything to do with it.

It is related to which SAS server you connected to.

The one with the error is running on Unix.  You can tell from the path it showed in the error message.  So there is no way it can see the "C:" drive.  That is a Windows filename.

View solution in original post

2 REPLIES 2
Tom
Super User Tom
Super User

I doubt the "project' has anything to do with it.

It is related to which SAS server you connected to.

The one with the error is running on Unix.  You can tell from the path it showed in the error message.  So there is no way it can see the "C:" drive.  That is a Windows filename.

ly2024
Calcite | Level 5

Tom,

 

You right. I checked "Select server", and changed it to "0 Local", now it works fine.


I am a beginner of SAS EG. So, selecting a running server is a must-do setup for a project?

 

Thank you!

Lin

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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