%macro stats(dsn,class,vars);
title 'Listing produced on &sysday, &sysdate at &systime';
title2 "Statistics from data set &dsn";
proc means data=&dsn n mean min max maxdec=1;
class &class;
var &vars;
run;
%mend stats;
%STATS(learn.bicycles, Country, Units TotalSales) Hi guys, I'm just wondering why the first title couldn't be resolved and show the current day,date and time?
THANK YOU!