Usage Note 12119: Graphs may not appear in output created by ODS HTML
If a SAS procedure creates an image as part of its output, that image
may appear as a red "X" in the HTML file created by code similar to the
following.
ods html file="directory/file.html";
/* SAS code */
ods html close;
The log shows no errors, and will most likely show the graph is created
successfully to the directory specified in the FILE= option. An example
of the message is below.
NOTE: NN RECORDS WRITTEN TO dir\sasgraph.YYY (where YYY is the device
type)
The problem is that the image is written to the default SAS directory,
but the HTML file is written to the directory specified in the FILE=
option. In order to see the graph(s) in the HTML file, use the PATH= or
GPATH= option on the ODS HTML statement to specify the directory
location to write the HTML and GRAPH files as shown below.
ods html file="file.html" path="dir"(url=none);
Note that the URL=NONE suboption is not necessary on the WINDOWS
platforms.
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 8.2 TS2M0 | |
| Microsoft Windows 95/98 | 8 TS M0 | |
| Microsoft Windows NT Workstation | 8 TS M0 | |
| Microsoft Windows 2000 Server | 8 TS M0 | |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | |
| Microsoft Windows 2000 Datacenter Server | 8 TS M0 | |
| Microsoft Windows 2000 Professional | 8 TS M0 | |
| OpenVMS VAX | 8 TS M0 | |
| Microsoft Windows 2000 Advanced Server | 8 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | |
| Solaris | 8 TS M0 | |
| z/OS | 8 TS M0 | |
| IRIX | 8 TS M0 | |
| OS/2 | 8 TS M0 | |
| ABI+ for Intel Architecture | 8 TS M0 | |
| HP-UX | 8 TS M0 | |
| Linux | 8.2 TS2M0 | |
| CMS | 8 TS M0 | |
| 64-bit Enabled HP-UX | 8 TS M0 | |
| HP-UX IPF | 9 TS M0 | |
| OpenVMS Alpha | 8 TS M0 | |
| 64-bit Enabled AIX | 8 TS M0 | |
| Tru64 UNIX | 8 TS M0 | |
| AIX | 8 TS M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2004-05-10 16:09:39 |
| Date Created: | 2004-04-02 16:23:46 |