Usage Note 13128: Preventing the Results Viewer from popping up automatically in SAS 9.1
The ODS keys in the SAS Registry have been restructured for SAS 9.1.
The path to the ODS preferences was [\ODS\PREFERENCES]. However, this
path been changed for SAS 9.1 to [ODS\GUI\RESULTS].
Preventing the Results Viewer from popping up automatically is one
of the many uses that the ODS preferences control. Since the keys have
been restructured, the path that you used in SAS 8.2 to prevent the
Results Viewer from popping up automatically will need to be modified
for SAS 9.1. If you were doing this interactively, this has not changed
from SAS 8.2. Also see SAS note #001591 .
To prevent the Results Viewer from popping up programatically, you can
use the code below which saves the keys out to a file. After running
the datastep, use PROC REGISTRY to import the keys.
data _null_;
file "c:\temp.sasxreg";
put'[ODS\GUI\RESULTS]';
put' "Auto Navigate" = "Off"';
run;
/* Submit the below code from the program editor */
/*---------------------------*/
/* Change the user's registry */
/*---------------------------*/
filename source 'c:\temp.sasxreg';
proc registry
import = source;
run;
/*-------------------------------------------------*/
/* Notify an existing destination that */
/* it needs to reprocess the preferences. */
/*-------------------------------------------------*/
ods preferences;
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M0 | |
| Microsoft Windows NT Workstation | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
| Microsoft Windows 2000 Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
| 64-bit Enabled Solaris | 9.1 TS1M0 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
| z/OS | 9.1 TS1M0 | |
| 64-bit Enabled AIX | 9.1 TS1M0 | |
| OpenVMS Alpha | 9.1 TS1M0 | |
| 64-bit Enabled HP-UX | 9.1 TS1M0 | |
| HP-UX IPF | 9.1 TS1M0 | |
| Linux | 9.1 TS1M0 | |
| Tru64 UNIX | 9.1 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.
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2005-11-10 17:29:41 |
| Date Created: | 2004-08-19 15:33:41 |