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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.