October 2009
Beginner
636 pages
13h 35m
English
Starting with SAS®9, you can direct ODS to specify a table of contents in the RTF document that it creates. It does this by inserting control fields in your RTF document that your word processing software can use to build a table of contents. In SAS 8, you had to insert the RTF control fields yourself or build the table of contents manually from inside the word processing software.
In SAS 9.2, you add the CONTENTS= and TOC_DATA options to the ODS RTF statement to request a table of contents in the output.
ODS RTF FILE='PayrollTOC.rtf' CONTENTS=yes TOC_DATA;
This causes SAS to insert a table of contents as the first page of the report, as shown in Figure 4.42, and to insert control fields that support ...
Read now
Unlock full access