SAS has a procedure Proc Compare that may help. It will report on such things as different types, lengths, formats and labels for variables as well as value comparisons (in possibly more detail than you want sometimes).
It does help if the data sets are sorted.
Here is a brief example:
data work.class;
set sashelp.class;
if name='John' then sex='F';
htweight = height*weight;
run;
proc compare base=sashelp.class compare=work.class;
run;
I added a variable so you can see something different in the number of variables and a value so you can see what happens with a different value.
You can get different levels of information depending on concerns.