Apparently more unclear Tim
[pre]
%global datim= %sysfunc(compress(%sysfunc(datetime(),IS8601DT.), -:));
%global dati = datetime();
%put &datim;%put &dati;
ods listing close;
ods html file="d:\temp\PrioLotReport.html" (title="Prio Lot Report") ;
ods escapechar='^';
/* title */
*ods html text="^S={just=c font_size=15pt foreground=black} Prio Lot Report - Last Run on &datim &dati ^S={}";
ods html text="Prior Lot Report - Last Run on %sysfunc(datetime()) &sysdate
&datim &dati ";
proc print data=sashelp.class(obs=1);run;
ods html close;
[/pre]
Is it more specifically a problem of how the ods clothing is working and
WHEN is it passing the chain to the ods construct ?
In my test the direct datetime and sysdate are resolved but not the macros variables
Andre