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
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.