Usage Note 23441: Can I add a banner page to the frame file in ODS HTML output?
A banner page can be added to the frame by creating an output object from the banner page and using the NEWFILE=PROC option. This option adds the banner page and each subsequent object to the table of contents. Below is an example of generating the banner page with the DATA step. View output.
/* remove the borders from the output */
proc template;
define style styles.test;
parent=styles.default;
style table from output /
rules=none
frame=void;
end;
run;
ods html body='c:\frb8.html'
contents='c:\frc8.html'
frame='c:\frame8.html'
style=styles.test newfile=proc;
data _null_;
label h=' ';
put '<html>';
put '<head>';
h='<h3>' ||"Welcome to my banner page." || '</h3>';
put h;
put '</head>';
put '</html>';
file print ods;
put _ods_;
run;
proc print data=sashelp.class;
run;
ods html close;
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> DATA Step Third Party ==> Output ==> HTML SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2005-07-11 17:08:42 |
| Date Created: | 2003-09-30 11:34:00 |