03-26-2012 07:57 PM
'populate a field with year and month' from what??
Suppose that your source is date variable. Although you can concatenate all the way to your target, proc format seems to have an edge:
format a date9.;
03-26-2012 10:11 PM
Thanks for sharing! Yes, It does work! It is strange I can't find the doc, I could only locate it as informat, but not format from 9.2 online docs: