If you have holidays , you need write some more code.
%let year=2016;
%let month=9;
data want;
temp=mdy(&month,1,&year);
do date=temp to intnx('month',temp,0,'e');
if weekday(date) not in (1 7) then output;
end;
format date date9.;
drop temp;
run;
... View more