Considering that the date is in character form. data have; date='01JUN2015:00:00:00'; date2=datepart(input(date,datetime20.)); /*format date2 date9.;*/ run; Thanks, Jag
... View more
No, I misread your question. If you only have each company listed once you could remove the WEIGHT statement and it would calculate the row percent for you.
... View more