I have created a folder named SASUniversityEdition on my local computer, created a subfolder within theSASUniversityEdition folder called myfolders. And have shared my myfolders folder with VirtualBox. The shared folder and files within it can be listed in SAS studio in the left list.
When I run "
libname mydata '/folders/myfolders';
options ps=10200;
filename aa 'phe.csv';
filename bb1 'genotype.csv';
filename dd 'q_str.csv';
....
"
in SAS studio (http://localhost:10080)
an error as follows:
ERROR: physical file“/opt/sasinside/SASConfig/Lev1/SASApp/phe.csv” dose not exist。
Who can tell me where should I put my file ‘phe.csv’,'genotype.csv' and 'q_str.csv'?
I put these files in the shared fold /SASUniversityEdition/myfolders now, I can see these files displayed in the left list in SAS studio, but it seems that it doesn't work.
Or something else is wrong?
In UNIX (SAS UE runs on a UNIX virtual machine) you have to use absolute pathnames, otherwise your process starts to search in the current working directory, which is
/opt/sasinside/SASConfig/Lev1/SASApp
Use the whole path, starting at root:
filename aa '/folders/myfolders/phe.csv';
In UNIX (SAS UE runs on a UNIX virtual machine) you have to use absolute pathnames, otherwise your process starts to search in the current working directory, which is
/opt/sasinside/SASConfig/Lev1/SASApp
Use the whole path, starting at root:
filename aa '/folders/myfolders/phe.csv';
You are right, thank you very much!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.