hi Jeetendra PS below. this might help. proc sql noprint; create table _cnt as select a.*, b.*, datdif(t1date,t2date,'act/act') as dif from labtest1 as a full join labtest2 as b on a.patid = b.patid; quit; proc print data=_cnt (where=(dif between -60 and 60)); by patid; run;
... View more