On UNIX systems, you always need to use an absolute path (starting at the root directory). So your statement should be this:
proc import datafile="/home/u51562302/EPG1V2/data/np_traffic.csv"
Note the leading slash (indicates root as starting point) in the path name.
Thank you for your help!
I now see the output data but not the results. And it's still giving me:
ERROR: File WORK.NP_TRAFFIC.DATA does not exist.
What can I do?
Thank you for your time.
I have marked the reason for the error message in your code:
@hyejung7890 wrote:
The new code I have is:
proc import datafile="/home/u51562302/EPG1V2/data/np_traffic.csv"
dbms=csv
out=traffic
replace;
run;
proc contents data=np_traffic;
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.