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!
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.
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.
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
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.