Previous Page | Next Page

Introducing SAS/GRAPH Output for the Web

Generating Web Presentations

There are two basic methods in which you can generate a web presentation:


Using ODS HTML with a SAS/GRAPH Procedure

The recommended method for getting procedure output on the Web is with ODS. By using the ODS HTML statement in a program with one or more SAS/GRAPH procedures, you can create an HTML file and its associated SAS/GRAPH (or tabular) output.

At a minimum, to use ODS with SAS/GRAPH you must do the following:

  1. Use the an ODS HTML statement to open the HTML destination. For device drivers that generate image output files, use the PATH= option to ensure that all output files are stored in the same location.

  2. Run a graphics procedure. If your procedure supports run-group processing, be sure include a QUIT statement.

  3. Close the HTML destination to write your HTML file.

If the LISTING destination is open, then SAS/GRAPH creates an additional copy of your output. To improve performance, you might want to close the LISTING destination while you are generating Web output.


Using DS2TREE and DS2CONST Macros

The following macros generate a Web presentation from a SAS data set:

To use these macros, simply define your data, then call one of these macros using the appropriate options. For these macros, you do not use ODS or call a SAS/GRAPH procedure. For additional information, refer to Creating Interactive Treeview Diagrams and Creating Interactive Constellation Diagrams.

Previous Page | Next Page | Top of Page