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.
By default, the HTML
destination is open, so you can create HTML output simply by submitting
SAS code. In order for SAS to release the file, you will need to close
the HTML destination.
To send output to the
HTML destination, the easiest way to do this is:
-
Close the HTML destination.
-
Use an ODS HTML statement
to open the HTML destination, and use the BODY= option to specify
a name for your output HTML file. For device drivers that generate
image output files, use the PATH= option to ensure that all output
files are stored in the same location.
-
Run a graphics procedure.
If your procedure supports run-group processing, be sure include a
QUIT statement.
-
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.