Hi there
i am unable to properly locate my file in my directory when I use a variable in the path
I am emptying the contents on the file by doing the below:
filename csvfile 'C:/Logs/log.csv';
data _null_;
file csvfile old;
run;
i want to pass C:/AllLogs as a variable called &dir
%let dir = C:/Logs;
filename csvfile '&dir./log.csv';
data _null_;
file csvfile old;
run;
The above way I do it does not work. Please advise where I am going wrong and how to resolve it. thank you