I tried to run conditional sas script based on the macro variable &syshostname.
data name;
name = "&syshostname.";
run;
data _null_;
set name;
if name = 'abc' then
do;
call symput('rrun','script1.sas');
end;
else
do;
call symput('rrun','script2.sas');
end;
run;
%include &rrun.;
Error Message: WARNING: Physical file does not exist, C:\Program Files\SASHome\SASFoundation\9.3\&rrun..
How can i direct it use the path &runn.. but not with those C:\Program Files XXXX ?