So, using my real numbers (rather than hypothetical) and my actual log...this is what I am seeing...The final table has far more observations than i want.
119 data dmisid; 120 set mtf; 121 parcost=coalescec (mtf, parcost); 122 run; NOTE: There were 436487 observations read from the data set WORK.MTF. NOTE: The data set WORK.DMISID has 436487 observations and 102 variables.
113 Proc sql; 114 create table mtf.mtf_size as 115 SELECT a.*, b.parent_size, b.dmis_id, b.facility_type_code, b.facility_name 116 from dmisid a inner join mtf.facility_size_all b 117 on a.parcost=b.dmis_id;
NOTE: Table MTF.MTF_SIZE created, with 3692241 rows and 106 columns.
***Also note, Table B mtf.facility_size_all has 5267 observations(the unique clinics).
... View more