Chapter Contents |
Previous |
Next |
The REGISTRY Procedure |
A registry file must have a particular structure. Each entry in the registry file consists of a key name, followed on the next line by one or more values. The key name identifies the key or subkey that you are defining. Any values that follow specify the names or data to associate with the key.
For more information on the SAS Registry and the Registry Editor, see the SAS online Help.
Specifying Key names |
Examples of valid key name sequences follow. These sequences are typical of the SAS Registry:
[CORE\EXPLORER\MENUS\ENTRIES\CLASS] | |
[CORE\EXPLORER\NEWMEMBER\CATALOG] | |
[CORE\EXPLORER\NEWENTRY\CLASS] | |
[CORE\EXPLORER\ICONS\ENTRIES\LOG] |
Specifying Values for Keys |
The general form of a value is
value-name=value-content |
A value cannot contain more than 255 characters (including quotation marks and ampersands). It can contain any character except a backslash (\).
Value-content can be any of the following:
Note: To include a backslash character in the quoted string, use two
adjacent backslashes. To include a double quotation mark, use two adjacent
double quotation marks.
int:
followed by a signed
long integer value.
uint:
followed by an
unsigned long integer value.
dword:
followed by an
unsigned long hexadecimal value.
hex:
followed by any
number of hexadecimal characters separated by commas. If you extend the hexadecimal
characters beyond a single line, end the line with a backslash to indicate
that the data continues on the next line.
double:
followed by
a double value.
The following examples illustrate and explain some of the different types of values that are currently stored in the SAS Registry:
"&Open"="BUILD %8b.%32b.%32b.%8b
MSG=NO"
The character O
is a shortcut for this
action.
"P&rint"="GSUBMIT 'PROC
PRINT DATA=%8b.%32b;RUN;';LISTING;DLGPRT;"
The character r
is a shortcut for this
action.
"&Edit"="IMAGEEDIT;IMPORT'%s''FORMAT=GIF'"
The character E
is a shortcut for this
action.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.