Previous Page | Next Page

The REGISTRY Procedure

Example 1: Importing a File to the Registry


Procedure features: IMPORT=
Other features: FILENAME statement

This example imports a file into the SASUSER portion of the SAS registry.


Source File

The following file contains examples of valid key name sequences in a registry file:

[HKEY_USER_ROOT\AllGoodPeopleComeToTheAidOfTheirCountry]
 @="This is a string value"
  "Value2"=""
  "Value3"="C:\\This\\Is\\Another\\String\\Value"


Program

 Note about code
filename source 'external-file';
 Note about code
proc registry   import=source;
run;

Output: SAS Log

Output From Importing a File into the SAS Registry

1   filename source 'external-file';
2   proc registry
3      import=source;
4   run;
Parsing REG file and loading the registry please wait....
Registry IMPORT is now complete.

Previous Page | Next Page | Top of Page