11-26-2015 09:57 AM
I am currently following the sas programming 1 and i have some difficulties.
80% of the time when i try to do an exercice, i have the same error message in the log: ERROR: Physical file does not exist,... Even if i copy and paste the answers (the programs) that SAS gives me.
What can i do to fix this ?
Thanks for your help
11-26-2015 10:27 AM
When I tell SAS to read the file, say, C:\Temp\ABC.txt, I also get the error message "ERROR: Physical file does not exist, C:\Temp\ABC.txt." (And I have to admit: In fact, this file doesn't exist.)
What I would do in this situation is:
If you have a concrete example, don't hesitate to post the full error message, including the path and filename.
11-26-2015 10:51 AM
11-27-2015 03:53 PM
When you are following SAS Programming 1, in the Course Overview and Setup section, there are demos for the 4 different methods of using SAS. Each demo shows how to create files and build a LIBNAME statement. In addition, there are explicit setup instructions that contain 2 tasks. Task 1 generally has you create a program called "SETUP.SAS" which you are instructed to run EVERY time you log on in order to reestablish your connection to the ORION data. Task 2 in the setup instructions has you run a program to MAKE the data files in the location you specify in Task 1.
The exception to this setup procedure is for Enterprise Guide users. There are slightly different instructions for EG users, that have you make a project and put your program in the project and then you are instructed to run this project EVERY time you want to work with Programming 1.
So, without more information about how you are using SAS (SAS Studio with a VM and the University Edition, SAS Studio on a local install, Base SAS on Windows, SAS Enterprise Guide, etc), all I can do is refer you back to the setup instructions and demos INSIDE the course.