I am creating an HTML file with results from different datasets. However, Data_C always shows up twice - once before the title where the output title is "Data B" and once at the end. How can I stop Data_C from showing up before Data B? TIA!
data _null_;
as_of_date = today();
year=year(today());
call symput('as_of_date',"'" || put(as_of_date,mmddyy10.) || "'");
call symput('Year',compress(year));
run;
%put &as_of_date;
%put &year;
proc sql noprint;
select count(*) into: countofpop
from population;
quit;
%put &countofpop;
proc print;
title "Count:" &countofpop.;
quit;
proc print data=DATA_B;
title "Data B";
quit;
proc print data=Data_B;
var ColumnX;
title "Data B Column";
quit;
proc print data=Data_C;
title "Data C";
quit;