开发者

Special Characters in SAS

开发者 https://www.devze.com 2023-03-07 14:33 出处:网络
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 commenti

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 nex开发者_如何转开发t to * .


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
0

精彩评论

暂无评论...
验证码 换一张
取 消