Thanks for your reply. I know which function to use however, not sure how to use it in a SAS proc. Here is what I've been trying to do but it doesn't seem to work:
data _null_;
If WEEKDAY(TODAY()) = 1 then do;
%Include '\Data\CODE\Reports.sas';
end;
run;
This seem to run no matter what...
I have a large set of code that update various datasets daily.
Part of the code need to only run on Mondays so I want to write some kind of an if statement to check for today's date and run only if today is Monday weekday(date)=2?
Hello,
I am trying to figure out how to set permission while creating a dataset. If that is not possible how do I change permission to dataset that I have already created.
I use pc sas and the datasets are usually on a UNIX box so permission will be something like 775 or 777.
PROC SQL;
CREATE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.