Create RTF output and create a new body file for each page of output. The ODS TAGSETS.RTF statement opens the RTF destination and creates RTF output. The CONTENTS suboption creates a table of contents page that contains a table of contents field that puts all of the contents information that is embedded in the document into a table of contents. This action occurs only if the TOC_DATA suboption is specified along with the CONTENTS suboption. The table of contents information is not embedded by default into the RTF file. You can turn on the insertion of the TOC data by specifying TOC_DATA='YES' or instruct ODS to not nsert this information by specifying TOC_DATA ='NO'.


ods tagsets.rtf file='Grain_Tagset.rtf' options(contents='yes' toc_data='yes');