Compare the specified file to the SASUSER portion of the SAS registry. The COMPARETO option compares the contents of a file to a registry.
It returns information about keys and values that it finds in the file that
are not in the registry.
proc registry
compareto=testreg;
run;