Creating HTML Output with Options

ODS HTML Statement

To create simple HTML output, you do not have to specify the ODS HTML statement. However, to create HTML output with options specified, you open the HTML destination using the ODS HTML statement.
General form, ODS HTML statement:
ODS HTML BODY=file-specification;
ODS HTML CLOSE;
where file-specification identifies the file that contains the HTML output. The specification can be
  • a quoted string which contains the HTML filename (use only the filename to write the file to your current working directory location, such as C:\Documents and Settings\username\My Documents\My SAS Files) Example: ODS HTML BODY=“myreport.html”;
  • a quoted string which contains the complete directory ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.