I am trying to import csv file into sas based on weekday. If its Monday, it has to import files of Saturday, Sunday and Monday and concatenate them, and rest of the days it has to import files of that day. csv files have name convention of "file-20220203.csv" I tried writing a If-Then-Else condition, where if weekday is 2(Monday) then import files of today, yesterday and daybefore yesterday, else import file of that day. But its not working.
... View more