Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tariqhali2

    Run a subset of code based on weekday

    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...
  2. tariqhali2

    Run a subset of code based on weekday

    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?
  3. tariqhali2

    Set permissions when creating a dataset

    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...

Part and Inventory Search

Back
Top