I am trying to export table on a remote server to my mac using
proc export data=mydata.table
outfile ="\Users\Mine\Desktop\table.xlsx"
dbms=xlsx
replace;
run;
I keep on getting error, saying temporary file cannot be created. make sure the path name is correct and that you have write permission. Do I have to download the table in sas format on to my mac and then use proc export to convert into excel format? or is my directory wrong?
Where is SAS running? On a remote machine (such as a Linux box)? Or are you using SAS University Edition?
If the former, you have to export to a location on that remote box, then FTP the file to your local folders. Remote SAS can't see your local file system.
If the latter, then you need to use the Shared Folder mechanism in the VirtualBox setup that is hosting your SAS and SAS Studio instance. Plenty of doc about that in the SAS University Edition FAQs.
If the SAS process is running on a server, it won't be able to access your Mac desktop.
How are you using SAS? Enterprise Guide, SAS Studio, Display Manager, batch mode?
You need to find a location on the server that you can write to. Then use a file transfer tool to retrieve the unloaded data to your Mac.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.