Usage Note 23425: In ODS HTML output, how can I label the items in the table of contents that were generated from the DATA step?
In the DATA step, if you include the ODS option on the FILE PRINT
statement, then use the OBJECTLABEL option to specify
the label for the table of contents.
To get rid of the "DATA Step Procedure" label, issue the
ODS PROCLABEL statement.
ods html file='body.html'
contents='contents.html'
frame='frame.html';
data _null_;
set sashelp.class;
file print ods=(objectlabel='test');
put _ods_;
run;
ods html close;
In the DATA step, if you do not include the ODS option
on the FILE PRINT statement, then the
TITLE value is the label for the table of contents.
ods html file='body.html'
contents='contents.html'
frame='frame.html';
data _null_;
set sashelp.class;
title 'this is a test';
file print ;
put name age sex height;
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 16:58:16 |
Date Created: | 2003-09-29 18:57:34 |