Create the HTML and PDF output and specify the style that you want to use for the output. The ODS HTML statement opens the HTML destination and creates HTML output. It sends all output objects to the file greenbar.html in the current directory. The STYLE= option tells ODS to use Greenbar as the style when it formats the output.


The ODS PDF statement opens the PDF destination and creates PDF output. It sends all output objects to the file greenbar.pdf in the current directory. The STYLE= option tells ODS to use Greenbar as the style when it formats the output.


ods html body="greenbar.html" style=greenbar;
ods pdf file="greenbar.pdf" style=greenbar;