The closes I came to your requirement
ods html close; /* Not needed if using SAS Studio */
proc template;
define style Styles.CustomTitle;
parent=Styles.pearl;
class ContentTitle from ContentTitle /
pretext='My Customized Title';
end;
run;
ods pdf file="C:\Users\mantsu01\Documents\CustomTOC.pdf";
options nodate nonumber;
ods proclabel "This is the cover page";
data new;
header='Created by SM on 06-10-2020';
label header = 'Title of my project';
run;
proc print noobs labels;
*where not missing(header);
run;
options number;
options pageno=1;
ods proclabel "Crosstab of SASHELP.CARS";
proc freq data=sashelp.cars;
tables origin*type / contents="";
run;
ods proclabel "All variables: SASHELP.CARS";
proc print data=sashelp.cars contents="Second level";
run;
ods pdf close; /* Not needed if using SAS Studio */
ods html;
proc template;
delete Styles.CustomTitle;
run;
... View more