This example also creates a master table template. Master templates are applied globally
to all of your tabular output. For more information about master table templates, see
“Base.Template.Table” on page 1361.
Program: Creating a Table with PROC ODSTABLE
ods path reset;
ods path show;
ods html close;
options nodate;
ods pdf file="ProcOdstableTable.pdf";
title "Using PROC ODSTABLE";
proc odstable name=Base.Template.Table;
define header myheader1;
text "Use the CELLSTYLE-AS Statement to Customize Output";
style={color=red};
end;
define header myheader2;
text "Use PROC ODSTABLE to Create a Table Template";
style={color=red};
end;
define footer myfooter;
text "This output is formated with a master template.";
style={color=blue};
end;
cellstyle _row_ in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.