I had a similar question. However, this is how I changed the date format within the proc report code instead of in a separate data step. You can create an alias variable for your date variable in the column statement ("date"), and then use the compute function to datepart within the proc report program. Proc Report data = infile; column cut_id sale_date date; define cut_id /format = $10.; define sale_date/display noprint; define date/computed format = mmddyyd10.; compute date; date = datepart(sale_date); endcomp; run;
... View more