Use proc compare, to compare the 1st snapshot (base😃 with the last one (compare=).
To compare numeric value use option criterion= (like criterion=0.01 for rounded cents).
Use by statement to force comparing same IDs.
Check documentation for more options and possibilities.
You can use keep= option in both tables, base and compare, in order to compare selected variables only.
Proc compare will compare all matching selected variables by names, character type as numeric.
You probably don't want to compare address of ID1 with that of ID2. Using by statement will
compare matching IDs. The output list will contain all not matching IDs and all
matching IDS if there are unequal values of matching variables.
Best try it and check output listing.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.