In addition to the actual template code, you have a great deal of control over the
environment in which ODS graphs are produced. Knowing what options are available
and how to adjust these options gives you the maximum control in producing the best
possible graphs for your needs.
Three areas work in conjunction with each other to control all aspects of graph creation:
SAS Registry Provides a repository of defaults for many options that affect
ODS Graphics
ODS Destination statement Provides options specific to destinations, such as HTML, PDF,
and RTF
ODS GRAPHICS statement Provides many global options that affect ODS graphics
You often need to add options to both the ODS destination statement and the ODS
GRAPHICS statement to get the desired output. Resetting SAS registry keys serves to
configure your default ODS Graphics environment.
SAS Registry Settings for ODS Graphics
The SAS Registry is a special SAS item store file that is stored in your SASUSER
storage location. It contains the default settings for many SAS products and their
features. You can browse or edit this hierarchical file with PROC REGISTRY, or with
the Registry Editor window. The window can be accessed with the global REGEDIT
command from a Display Manager session. When you issue the command, the main
Registry Editor window appears:
If you expand the ODS folder, you will see a subfolder for ODS GRAPHICS, which
contains three registry keys.
496 Chapter 24 Managing Your Graphics Output

Get SAS 9.4 Graph Template Language, 3rd 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.