Suggest you share the code that generates the SAS variable - the reason is because you have not identified what output format you are using, nor whether you are already converting a SAS "numeric type" DATE variable to character, by using a PUT function.
Suggest also having a look at the PROC FORMAT documentation and particularly the use of a "custom date format" with PICTURE.
"always" convert date data to SAS/Date. Then you can display with any format. The one you want is built in.
359 data _null_;
361 month = 01;
362 day = 15;
363 year = 2009;
365 date = mdy(month,day,year);
367 put 'STAMP: ' date mmddyyN6.;
Message was edited by: data _null_;