proc import
datafile = '\myfolders\Final clean dataset for Meley 2.23.15 withanthro.sav'
out= burum
dbms= sav
replace;
run;
Unix file is case sensitive. Make sure the case and name matches exactly.
Assuming your shared folders are set up properly, navigate to the Server Files and Folders on the left hand menu.
You should see your file. If you right click on it and choose properties, it will have the path to the file. Use that in your proc import.
Your path is specified incorrectly for a unix system, which SAS University Edition is running.
The slashes should be the other way, and you need a folders in front of it as well.
The periods in the file name may also be causing issues, you may need to remove them.
proc import
datafile = '/folders/myfolders/Final clean dataset for Meley 2.23.15 withanthro.sav'
out= burum
dbms= sav
replace;
run;
Try replacing period with - instead.
proc import
datafile = '/folders/myfolders/Final clean dataset for Meley 2-23-15 withanthro.sav'
out= burum
dbms= sav
replace;
run;
Hi Reeza,
Thank you for your help. I tried your sugestion and renamed the file so that the periods were removed and now I have a different error message which reads: ERROR: Physical file does not exist, /folders/myfolders/Final clean dataset for Meley22315withanthro.sav. Why can it not locate this file?
proc import
datafile = '/folders/myfolders/Final clean dataset for Meley22315withanthro.sav'
out= burum
dbms= sav
replace;
run;
Unix file is case sensitive. Make sure the case and name matches exactly.
Assuming your shared folders are set up properly, navigate to the Server Files and Folders on the left hand menu.
You should see your file. If you right click on it and choose properties, it will have the path to the file. Use that in your proc import.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.