Hi, I am new users for SAS and struggling with create name for file. I use IMAC. I always have problem each time I write down the file path like below. Can anyone tell me the rule of it pleas
Because of this issue, when I create the temporary data set, the errors is like that.
Can anyone help me please?
Make sure that the spelling of the physical path to the library is correct, especially with regards to uppercase/lowercase. When SAS tells you something is not there, then it is not there, period.
Both OSX (Mac) and Linux (the operating system of University Edition) are case sensitive.
PS please post logs as text, using the {i} button.
After I have corrected the file path and created the temp dataset. The result is like this...
I am not sure what I did wrong. Could you tell me please?
I hate to repeat myself:
"PS please post logs as text, using the {i} button."
First, get rid of that stupid blank in the directory name; it will only cause trouble again and again.
Second, make sure that a file
auto.sas7bdat
exists in the directory. Spelling must be all lowercase, no blanks or other special characters.
According to what I see in the screenshot, your libname should be
libname chapter2 "/folders/myfolders/Lecture_ Resources/Chapter2";
as the blank seems to still be there in the physical directory name.
Computers do EXACTLY what you tell them to do.
From your photograph of SAS's tree view of your files it looks like there is some character (a space?) between the underscore and the R in your directory names.
But in the code you posted there is nothing between those two characters.
"/folders/myfolders/Lecture_Resources"
Also in your photograph is looks like auto.sas7bdat is under the Chapter2 subfolder and not in the parent directory that you attempted to point the libname to.
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.