Usage Note 33590: You can determine the open ODS destinations programmatically
Beginning with SAS 9.2, you can programmatically query which ODS destinations are open. You can perform this task by querying the DICTIONARY.DESTINATIONS dictionary table. Querying the DICTIONARY.DESTINATIONS table will display both the open ODS destinations and the style applied to the destination. As with other dictionary tables, you can also query this information with the SASHELP view SASHELP.VDEST.
Operating System and Release Information
| SAS System | Base SAS | z/OS | 9.2 TS1M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
| Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
| Microsoft® Windows® for x64 | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
| Microsoft Windows XP Professional | 9.2 TS1M0 | |
| Windows Vista | 9.2 TS1M0 | |
| 64-bit Enabled AIX | 9.2 TS1M0 | |
| 64-bit Enabled HP-UX | 9.2 TS1M0 | |
| 64-bit Enabled Solaris | 9.2 TS1M0 | |
| HP-UX IPF | 9.2 TS1M0 | |
| Linux | 9.2 TS1M0 | |
| Linux for x64 | 9.2 TS1M0 | |
| OpenVMS on HP Integrity | 9.2 TS1M0 | |
| Solaris for x64 | 9.2 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.
Sample code to list the current open destination using both the DICTIONARY.DESTINATIONS dictionary table and the SASHELP.VDEST view.
ods rtf;
proc sql;
select * from dictionary.destinations;
run;
quit;
ods rtf close;
ods html style=sasweb;
proc print data=sashelp.vdest;
run;
ods html close;
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Data Management ==> Administration Third Party ==> Output ==> HTML Third Party ==> Output ==> PDF Third Party ==> Output ==> Postscript Third Party ==> Output ==> RTF Third Party ==> Output ==> XML
|
| Date Modified: | 2009-11-23 10:15:29 |
| Date Created: | 2008-10-10 18:38:40 |