I know this should be easy but I have not done SAS in over 10 years and I am trying to get back into it. I have two date fields NAME TYPE LEN FORMAT INFORMAT MONTH NUM 8 11.1 11.1 left_date NUM 8 DATE9. DATE9. MONTH looks like: 202010 left_date looks like: 15DEC2020 All I want to do is create a dataset where I get those values for each variable with the same MONTH and YEAR.. I have tried reformatting left_date using format new_Co_Date YYMMN.; but to no avail. I would want to do, last step, where month_end= left_date (or with applicable new variable name(s)). Any help is greatly appreciated. Thank you
... View more