Usage Note 1591: How to prevent the Results Viewer from popping up automatically when
generating output from ODS
When a HTML, PDF, or RTF file is created with ODS, by default the
Results Viewer or the preferred browser pops up automatically. To change
this behavior interactively, follow the below steps from the SAS
pull-down menu if you are using a SAS release lower than 9.1.
1) Tools->Options->Preferences->Results->Unselect "View results as they
are created".
The REGISTRY procedure can be used to change this default
programmatically. Below is the syntax to do this.
/* Create file user_registry.sasxreg with the below 3 statements.
Note that HTML is used even for RTF and PDF destinations */
#Customize HTML preferences
[ODS\PREFERENCES\HTML]
"AutoNavigate" = int:0
/* Submit the below code from the program editor */
/*---------------------------*/
/* Change the user's registry */
/*---------------------------*/
filename source 'user_registry.sasxreg';
proc registry
import = source;
run;
/*-------------------------------------------------*/
/* Notify an existing destination that */
/* it needs to reprocess the preferences. */
/*-------------------------------------------------*/
ods preferences;
If you are using SAS 9.1 or higher follow the instructions on the link
below.
#013128
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows 95/98 | 8 TS M0 | |
| Solaris | 8 TS M0 | |
| OpenVMS VAX | 8 TS M0 | |
| Microsoft Windows NT Workstation | 8 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | |
| OS/2 | 8 TS M0 | |
| IRIX | 8 TS M0 | |
| HP-UX | 8 TS M0 | |
| ABI+ for Intel Architecture | 8 TS M0 | |
| z/OS | 8 TS M0 | |
| CMS | 8 TS M0 | |
| 64-bit Enabled AIX | 8 TS M0 | |
| 64-bit Enabled HP-UX | 8 TS M0 | |
| OpenVMS Alpha | 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: | 2005-08-02 11:05:43 |
| Date Created: | 2000-01-12 11:23:16 |