Hello,
We are working in a remote desktop with SAS Enterprise Guide 7.1, and we are trying to export a file in csv using the following code:
PROC EXPORT DATA = WORK.TABLE
OUTFILE = "/L:/X9776/my_name/output.csv"
DBMS = CSV REPLACE;
RUN;
But we get this error :
Error: Physical file does not exist, L:/X9776/my_name/output.csv.
Can you help us please?
Thank you so much.
We tried that before but if we do that we'll get the following error:
ERROR: Physical file does not exist, /sas/config94/sascompute/Lev1/SASApp/L:/X9776/my_name/output.csv.
We searched on the internet this error and we found a solution saying that 'L:/X9776/my_name/output.csv' is a UNIX path and that the problem is fixed with a slash before the L, but then we get the current error.
Thank you so much for helping us.
The path you see in the error-message /sas/config94/sascompute/Lev1/SASApp/L:/X9776/my_name/output.csv indicates, that the sas-system you are working with is using Linux and not Windows, so there can't be an L-drive on the server. You need to talk to the it-staff, they can tell you which path you have to use.
SERVER VS PC : May be your file is on the server and your SAS is on the PC ? or Viceversa . Please check
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.