Hello Everyone, I want to automate the sas if else statement at the beginning of each month I have to write if else statement code below: Where 2019 is year 01 is month number and Jan is month name in date1 Data m_000; Set m1_000; If date1='2019-01-Jan then Date2='2019-1'; If date1='2019-03-Mar then Date2='2019-03; Run; And Every time I have to write the code add new month I don't want to add new month every time could this can be automated and how please advice.
... View more