hHi again Art I was almost there but at the very end got this error message: 415 proc sql; 416 create table results (drop=rec_count comp_count) as 417 select *, count(*) as rec_count 418 from Step2 as a 419 join (select MEMNO,BEGDATE,SProv_Spec,TAXID,count(*) as comp_count 420 from Step2 421 group by MEMNO,BEGDATE,SProv_Spec,TAXID) as b 422 on a.MEMNO = b.MEMNO 423 group by MEMNO 424 having rec_count eq comp_count; ERROR: Ambiguous reference, column MEMNO is in more than one table. (tired of writing key1 etc because that juat may be the disconnect so using the real field names)
... View more