. . . proc print; title 'A'; title2 'B'; title3 'C'; title4 'D'; |
leads to the following output ==> | A |
PROC PRINT Output |
(using title1 'A'; above gives the same result)
Add the following lines of code in the same SAS session:
proc means; title2 'new'; |
leads to the following output ==> | A |
PROC MEANS Output |
Notice that the specification of the new title2
leaves all titles above it untouched (i.e. title1)
and flushed out/erased all titles below it as they were
unspecified (i.e. title3 & title4).
If you wanted to clear out all titles simply insert:
title ;
This hierarchical method works in the same way with respect to footnotes.