Sorry guys! I was hoping writing out sas match merge logic is easier than understanding what program is actually doing to the data. Also want to have same output for Comparison with production data. In my project, i have lots and lots of sas programs with match merge which i cant tell why merge is used. Eg in a credit card project, on a daily basis, we merge the card application info dataset (which is accumulated daily) with new daily application data. Eg data application; merge application dataA dataB; by application_ref_no; run; Basically from physical data, they are many to many. What i dont understand is why merge is applicable as only last entry of dataA and dataB would be used for the same application_ref_no.. So i cant tell if using other join could work and if i used full join i will have much bigger output.
... View more