Create the master parent Base.Template.Header and specify the font size and font color for the headers and footers. The DEFINE TABLE statement creates the master parent Base.Template.Header. The STYLE= header attribute statement specifies that the header font is 20pt and purple. The LINK statement creates the Base.Template.Footer master template and links it to the Base.Template.Header template, which it inherits its characteristics from. Base.Template.Header and Base.Template.Footer will be applied to every table created by SAS, unless they are overridden by another template created by PROC TEMPLATE, removed with the DELETE statement, or manually removed from the item store.


define header base.template.header;
   style={fontsize=20pt color=purple};
end;
link base.template.footer to base.template.header;
run;