SAS 9.1 Language Reference Concepts

Configuring Universal Printing

Universal Printers should be configured by using either the PRTDEF procedure or the Print Setup window. The REGISTRY procedure can to used to back up a printer definition and to restore a printer definition from a SASXREG file. Any other direct modification of the registry values should only be done under the guidance of SAS Technical Support.

Configuring SAS Explorer

While it is best to use the Explorer Options window to configure your Explorer settings, you can use the Registry Editor to view the current Explorer settings in the SAS registry. The Explorer Options Window is available from the

TOOLS – Options – Explorer

drop-down menu from within the Explorer. All the Explorer configuration data is stored in the registry under CORE\Explorer. The following table outlines the location of the most commonly used Explorer configuration data.

Registry Key

What portion of the Explorer it configures

CORE\EXPLORER\CONFIGURATION

the portions of the Explorer get initialized at startup.

CORE\EXPLORER\ MENUS

the context menus that get displayed in the Explorer.

CORE\EXPLORER\KEYEVENTS

the valid key events for the 3270 interface. This key is only used on the mainframe platforms.

CORE\EXPLORER\ICONS

Which icons to display in the Explorer. If the icon value is 1/4-1, this causes the icon to be hidden in the Explorer.

CORE\EXPLORER\NEWS

This subkey controls what types of objects are available from the

File – New

menu in the Explorer.

Configuring Libraries and File Shortcuts with the SAS Registry

When you use the New Library window or the File Shortcut Assignment window to create a library reference (libref) or a file reference (fileref), these references are stored for future use when you click the Enable at Startup check box in either of these two windows .

Library references (librefs) and file references ( filerefs ) are saved when you check 'Enable at startup' and they are stored in the SAS registry, where it is possible to modify or delete them, as follows :

Deleting an "Enable at Startup" library reference

Deleting an 'Enable at Startup' file shortcut

Creating an 'Enable at Startup' File Shortcut as a site default

Creating an 'Enable at Startup' Library as a site default

Fixing Library Reference (Libref) Problems with the SAS Registry

Library references (librefs) are stored in the SAS Registry. You may encounter a situation where a libref that previously worked, fails. In some situations, editing the registry is the fastest way to fix the problem. The following section describes what is involved in repairing a missing or failed libref.

If any permanent libref that is stored in the SAS Registry fails at startup, then the following note appears in the SAS Log:

NOTE: One or more library startup assignments were not restored.

The following errors are common causes of library assignment problems:

Note: You can also use the New Library window to add and delete librefs. You can open this window by typing LIBASSIGN in the toolbar, or selecting

File – New

from the Explorer window.

CAUTION:

To correct a libref assignment error using the SAS Registry Editor:

  1. Select

    Solutions – Accessories – Registry Editor

    or issue the regedit command to open the Registry Editor.

  2. Select one of the following paths, depending on your operating environment, and then make modifications to keys and key values as needed:

    CORE\OPTIONS\LIBNAMES

    or

    CORE\OPTIONS\LIBNAMES\CONCATENATED

For example, if you determine that a key for a permanent, concatenated library has been renamed to something other than a positive whole number, then you can rename that key again so that it is in compliance. Select the key, and then select Rename from the pop-up menu to begin the process.

Категории