Thank you for reply but i know that answer is coming like that put date monyy7.; MAY2012 but you have not seen my questions properly i want MAY-2012 instead of MAY2012 but thank you for time i did it.. for less time i asked that question over here data have; input ReAdm1 ReAdm2; datalines; 1 2012 2 2013 3 2015 ; run; proc sql; select *, mdy(readm1, 01, readm2) as date format=date11., substr (put(calculated date,date11.),4,length(put(calculated date,date11.))) as date from have; quit;
... View more