Hello,
I have the below code whereby I'm trying to import multiple .csv file types from a network folder. I access SAS through citrix reciever.
DATA TEST; INFILE '\\CLIENT\O$\EUROMKTG\MARKETING ANALYTICS DEPT\CAMPAIGN REPORTING\TEST\CLICKS.CSV'; PROC IMPORT OUT= WORK.NEWDATA DATAFILE='\\CLIENT\O$\EUROMKTG\MARKETING ANALYTICS DEPT\CAMPAIGN REPORTING\TEST\CLICKS.CSV'; RUN;
Please can anyone help?
What is the question?
If you lack the correct network path name, speak with your IT.
You should be able to access files using that notation, IF the SAS process itself is also running on the Citrix server.
If your SAS process is actually running on a Unix server (or even just a different Windows server) then it will know nothing about the mapping of virtural windows drives to folders on the Citrix user's PC. In that case first upload the file to a location that can be access from the SAS server.
I get the following error message...
ERROR: Physical file does not exist, /opt/sasconfig/grd/Lev1/SASApp/O:\EUROMKTG\MARKETING ANALYTICS DEPT\CAMPAIGN REPORTING\4. Q2
REPORTING\TEST\CLICKS.CSV.
@CamRutherford wrote:
I get the following error message...
ERROR: Physical file does not exist, /opt/sasconfig/grd/Lev1/SASApp/O:\EUROMKTG\MARKETING ANALYTICS DEPT\CAMPAIGN REPORTING\4. Q2
REPORTING\TEST\CLICKS.CSV.
From that error message it is easy to see that your SAS session is running on Unix and not Windows. So any path that uses drive letters will not work. You either ask your networking to have the file share that you have mapped to the O: drive on your Windows machine mounted somewhere on the Unix servers that SAS is using. Or just copy the file somewhere first and import the copy.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.