The ODS HTML statement opens the HTML destination and creates HTML output. Subsequent output objects go to the body file. CONTENTS= and FRAME= create a frame file that includes a table of contents that links to the contents of the body file. The body file also appears in the frame. The ODS PRINTER statement opens the Printer destination and creates Printer output. It sends all output objects to the external file attribs.ps in the current directory.
ods html body='attribs-body.htm'
         contents='attribs-contents.htm'
         frame='attribs-frame.htm';
ods printer file='attribs.ps';