Thanks for the help. I got what I wanted to do. I used Intnx and got it working data test; mon1 = intnx('month', date(), -1); mon2 = intnx('month', date(), -1); . . . . format mon1, mon2,mon3.. yymmn6. ; put (_all_)(=); run; Thanks everybody for the help. I am totally new to this field and trying to learn as far as I can..:) Thanks again.. Eleen
... View more