Usage Note 49388: Graphics output might not be sent to the desired location beginning with SAS® 9.3
Beginning with SAS 9.3, SAS now enables the HTML destination by default and disables the Listing destination. These changes are documented in SAS Note 42874.
Because of these changes, if you are using a SAS/GRAPH® device driver without ODS, the device driver no longer sends its graph output to the desired location. In most cases, the graphics output is displayed in the Results Viewer window in SAS, even though you might want to only write a PNG, GIF, JPEG, EMF, or CGM file to disk.
In most situations, the following warning message will be written to the SAS log:
WARNING: Unsupported device 'driver-name' for HTML destination. Using default device 'PNG'.
To circumvent the problem, add the following statements to the beginning of your SAS code:
ods _all_ close;
ods listing;
These two statements close any open ODS destinations and then opens the Listing destination, which is the default destination prior to SAS 9.3.
Operating System and Release Information
SAS System | SAS/GRAPH | z/OS | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 TS1M0 | |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 TS1M0 | |
64-bit Enabled AIX | 9.3 TS1M0 | |
64-bit Enabled HP-UX | 9.3 TS1M0 | |
64-bit Enabled Solaris | 9.3 TS1M0 | |
HP-UX IPF | 9.3 TS1M0 | |
Linux | 9.3 TS1M0 | |
Linux for x64 | 9.3 TS1M0 | |
Solaris for x64 | 9.3 TS1M0 | |
*
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.
Graphics output might not be sent to the desired location beginning with SAS® 9.3.
Date Modified: | 2013-03-18 16:17:09 |
Date Created: | 2013-03-11 10:05:01 |