Hi, I am using the university edition but I have linked the file to the virtual folder Myfolders which has a subfolder "sasuser.v94" which then contains the file speedsas.xlsx . I am running on a Mac
I am just new at using this and running out of ideas - I am guessing somehow it is not linked properly
I extracted your question from the 2-year old thread that is pretty dead by now.
Don't post your question in other people's old thread, open your own.
You obviously work with University Edition, which runs in a Linux virtual machine on your Mac. You have to use an absolute path for your file that starts at the system root of the virtual machine, otherwise the program will look for your file on the current working directory, where it won't find it.
Also do not put anything into the sasuser.v94 directory, it is the place for the SASUER library and nothing else.
So move your Excel file to your myfolders with the Mac Finder, and then use this code:
proc import
datafile="/folders/myfolders/speedsas.xlsx"
out=work.myexcel
dbmes=xlsx
replace
;
run;
Make sure that your spelling of the filename is correct, as the UNIX systems of your Mac and the VM are case sensitive.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.