I'm afraid that your "new values" is going to require a definition of "new". That tends to imply an order of comparison and I likely going to be the hardest to get.
You can get some of this information, nob and existence from SASHELP.VTABLE or the Proc SQL dictionary.tables.
Example:
proc report data=sashelp.vtable;
where libname in ('LIBNAME1' 'LIBNAME2') and memtype='DATA';
column memname libname,(nobs nvar);
define memname /group;
define libname/across;
run;
Will create a table with the data set name as the row and within columns for each library have columns that are the number of observations and number of variable, missing obs and vars indicate the data set is not in the library. Up to you to decide what "extra" would be. Note the Libname and Memtype values are stored as upper case and need to be that way in the where clause.
You can get similar information on variables from the SASHELP.VCOLUMN or Proc SQL dictionary.columns.
proc format library=work;
value 0-high='X' .=' ';
run;
proc tabulate data=sashelp.vcolumn;
where libname in ('LIBNAME1' 'LIBNAME2') and memtype='DATA';
class memname name type/missing;
table name*memname*type,
libname*n=' '*f=mark.
;
run;
Will create table with the variable name, data set name, variable type as row header and the library as the column header. The format places an X where the values appear.
This will show all the data sets that a like named variable will appear.
No easy/short way to get values. You have to summarize every variable in every set to get distinct values and then compare the paired results.
... View more