Who Should Use the SAS Registry?
The SAS registry is designed for use by system administrators and experienced SAS
users. This section provides an overview of registry tools, and describes how to import
and export portions of the registry.
CAUTION:
If you make a mistake when you edit the registry, your system might become
unstable or unusable.
Wherever possible, use the administrative tools, such as the New Library window, the
PRTDEF procedure, Universal Print windows, and the Explorer Options window, to
make configuration changes, rather than editing the registry directly. Using the
administrative tools ensures that values are stored properly in the registry when you
change the configuration.
CAUTION:
If you use the Registry Editor to change values, you are not warned if any entry
is incorrect. Incorrect entries can cause errors, and can even prevent you from
starting a SAS session.
Where the SAS Registry Is Stored
Registry Files in the Sasuser and the Sashelp Libraries
Although the SAS registry is logically one data store, physically it consists of two
different files located in both the Sasuser and Sashelp libraries. The physical filename
for the registry is regstry.sas7bitm. By default, these registry files are hidden in the SAS
Explorer views of the Sashelp and Sasuser libraries.
• The Sashelp library registry file contains the site defaults. The system administrator
usually configures the printers that a site uses, the global file shortcuts or libraries
that are assigned at startup, and any other configuration defaults for your site.
• The Sasuser library registry file contains the user defaults. When you change your
configuration information through a specialized window such as the Print Setup
window or the Explorer Options window, the settings are stored in the Sasuser
library.
How to Restore the Site Defaults
If you want to restore the original site defaults to your SAS session, delete the
regstry.sas7bitm file from your Sasuser library and restart your SAS session.
How Do I Display the SAS Registry?
You can use one of the following three methods to view the SAS registry:
• Issue the REGEDIT command. This opens the SAS Registry Editor.
• Select Solutions ð Accessories ð Registry Editor.
• Submit the following line of code:
proc registry list;
run;
222 Chapter 14 • The SAS Registry