I am sort of a novice SAS user. I was wondering what would be the best way to compare the two tables and only output if there were differences in the data from the two table. I tried using the below code but due to my tables having multiple variables that need to be checked. The sort by one variable is not producing the intended results. DATA OT_2_current; MERGE OT_2_new (IN=T1) OT_2_old (IN=T2); BY equip_unit_init_cd; IF T1 AND NOT T2 THEN OUTPUT OT_2_current; RUN;
... View more