I am attempting to import an excel file stored on my desktop but I am receiving this error message:
ERROR: Physical file does not exist, /opt/config/Lev1/SASApp/C:\Users\KALLEN.EPECAD\Desktop\/auto
Below is my code and I have attached my data. What am I doing wrong? Thanks.
PROC IMPORT OUT=WORK.auto1 DATAFILE="C:\Users\KALLEN.EPECAD\Desktop\auto.xlsx"
DBMS=xlsx REPLACE;
SHEET="auto";
GETNAMES=YES;
RUN;
Use the Copy Files task to copy the local Excel file to your server, then run your PROC IMPORT from there. The remote SAS session cannot see your Windows desktop system.
Example of the task settings, process flow, and code you might use.
I believe where I am going wrong is in datafile=
Your SAS runs on a UNIX system, either on a remote server or in the virtual machine of University Edition. Which is it?
Your SAS runs on a UNIX system, either on a remote server or in the virtual machine of University Edition. Which is it?
I am using EG on a remote server
Use the Copy Files task to copy the local Excel file to your server, then run your PROC IMPORT from there. The remote SAS session cannot see your Windows desktop system.
Example of the task settings, process flow, and code you might use.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.