Patrick's solution is an acceptance-rejection method for a truncated discrete uniform distribution. Depending on what the OP wants, he can use Patrick's solution as is, or he can imbed it in a DO-WHILE loop that continues to generate random numbers until a weekday in [2,6] is found.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.