Reputation: 59
HI , I'm trying to use * special character in SAS Statement but it see it as commenting character , so is there any method that allow me to mask it , as to use it as special character not as commenting character.
here is the statement that am trying to use * in it:
%let source=/home/sas/SASMR/Reports/*.pdf;
as a result of this , it comment what is come next to * .
Upvotes: 2
Views: 1454
Reputation: 51
If you just need a quick solution, this worked for me.
%let source=/home/sas/SASMR/Reports/%str(*).pdf;
%put &source;
/home/sas/SASMR/Reports/*.pdf
Upvotes: 5