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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.