Chapter 16: Managing Web Output with ODS


Overview of ODS Enhancements for Web Output

Using ODS with SAS/GRAPH has numerous advantages over generating HTML output by other means. With ODS, you can

  • specify parameters for presentations that run in the Java applets or in the SAS/GRAPH Control for ActiveX.

  • use ODS styles to enhance the appearance of your graphs with images, color gradients and blends, transparency, and shading (see Using ODS Styles on page 488 ).

  • name the body file(s) for storing the ODS output (see Specifying Body Files for Displaying Graphs on page 491).

  • determine whether titles and footnotes are written as part of the graphs or as part of the HTML files (see Controlling Titles and Footnotes with ODS Output on page 492).

  • combine graphics and non-graphics output in your Web page (see Adding Non-Graphics Output to a Web Page on page 494).

  • generate a Table of Contents to link to the output (see Linking to Output through a Table of Contents on page 495).

  • generate a Table of Pages to link to the output (see Linking to Output through a Table of Pages on page 496).

  • use HTML frames to display the Table of Contents or Table of Pages (see Using Frames to Display ODS Output on page 497).

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

  1. Use a GOPTIONS statement to specify a device driver with the DEVICE= graphics option.

  2. Open an HTML output file using an ODS statement such as ODS HTML or ODS MARKUP. At a minimum, you must use the BODY= (alias FILE=) option to specify a body file. For device drivers that generate image output files, use the PATH= or GPATH= option to ensure that all output files are stored in the same location.

  3. Run a graphics procedure.

  4. Close the HTML destination.

There are many ODS statements that enable many types of output. There are also a number of ODS options other than the ones that are discussed here that can be used to configure HTML output. For further information, refer to the SAS Output Delivery System: User s Guide .




SAS.GRAPH 9.1 Reference, Volumes I and II
SAS.GRAPH 9.1 Reference, Volumes I and II
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 342

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net