29.12.2013 Views

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The REGISTRY Procedure 4 PROC REGISTRY Statement 849<br />

libname<br />

is the name of the library in which the registry file resides.<br />

registry-name-1<br />

is the name of the first registry.<br />

Requirement:<br />

Interaction:<br />

option.<br />

Must be used with COMPAREREG2.<br />

To specify a single key and all of its subkeys, specify the STARTAT=<br />

Featured in: Example 4 on page 858<br />

COMPAREREG2=’libname.registry-name-2’<br />

specifies the second of two registries to compare. The results appear in the <strong>SAS</strong> log.<br />

libname<br />

is the name of the library in which the registry file resides.<br />

registry-name-2<br />

is the name of the second registry.<br />

Requirement: Must be used with COMPAREREG1.<br />

Featured in: Example 4 on page 858<br />

COMPARETO=file-specification<br />

compares the contents of a file that contains registry information to a registry. It<br />

returns information about keys and values that it finds in the file that are not in the<br />

registry. It reports as differences<br />

3 keys that are defined in the external file but not in the registry<br />

3 value names for a given key that are in the external file but not in the registry<br />

3 differences in the content of like-named values in like-named keys.<br />

COMPARETO= does not report as differences any keys and values that are in the<br />

registry but not in the file because the registry could easily be composed of pieces<br />

from many different files.<br />

file-specification is one of the following:<br />

’external-file’<br />

is the path and name of an external file that contains the registry information.<br />

fileref<br />

is a fileref that has been assigned to an external file.<br />

Requirement: You must have previously associated the fileref with an external<br />

file in a FILENAME statement, a FILENAME function, the Explorer window, or<br />

an appropriate operating environment command.<br />

Interaction: By default, PROC REGISTRY compares file-specification to the<br />

<strong>SAS</strong>USER portion of the registry. To compare file-specification to the <strong>SAS</strong>HELP<br />

portion of the registry, specify the option USE<strong>SAS</strong>HELP.<br />

Featured in: Example 3 on page 857<br />

See also: For information about how to structure a file that contains registry<br />

information, see “Creating Registry Files with the REGISTRY Procedure” on page<br />

852.<br />

DEBUGON<br />

enables registry debugging by providing more descriptive log entries.<br />

DEBUGOFF<br />

disables registry debugging.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!