I uploaded a .sas7badat file on SAS OnDemand
Then I try to click on the file CompAssign2.sas7bdat, it shows "File _TEMP8.COMPASSIGN2.DATA does not exist."
Then I go ahead and create a LIBNAME:
And it was successful?
Then I went to the library and check. I does has a library names "HW2". But when I click on the "COMPASSIGN2" it shows error "File HW2.COMPASSIGN2.DATA does not exist.":
I then try to run proc.contents, and it shows error"ERROR: File HW2.COMPASSIGN2.DATA does not exist."
So now I cannot move forward to run anything without able to load the dataset. PLEASE HELP
You don't say anything about the environment you are working in but if this is SAS on Demand I believe that is Unix/Linux based so all name like folders and files are case sensitive. Since you are showing mixed case in many places that gets much harder to keep track of how the system actually wants them. Try making all the folders and file names lower case.
Yes, SAS OnDemand
A .sas7bdat file MUST be named all lowercase, especially on UNIX systems.
Rename your file to
compassign2.sas7bdat
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.