x cd /mscdc/data/stf903x/Tools; filename pgm 'indices.sas'; *--create miscellaneous indices for the members of the stf903x dir-; *------------------------------------------------------------------*; title 'stf903x index creation run'; options linesize=80 nodate pagesize=60 msglevel=i pageno=1; /* *<====following step can be used for start-over runs=== proc datasets library=stf903x nolist; modify moi; index delete msacmsa county; modify ili; index delete msacmsa county; modify ksi; index delete msacmsa county; run; ======================end comment======================= */ *-----------------------------jgb, 11-10-94--------------------*; *-------------mo, il and ks by msacmsa and county---*; proc datasets nolist library=stf903x; modify moi; index create msacmsa; index create county; modify ili; index create msacmsa; index create county; modify ksi; index create msacmsa; index create county; run; *--small test to verify they will be used-; proc sql; title2 'test: kansas city mcd''s with major black pops'; select county, geocode, areaname, totpop, pctblack from stf903x.moi where msacmsa='3760' and slvl='060' and pctblack ge 20; title2 'test2: places of 5000+ pop in st. clair, il'; select place, areaname, totpop, county from stf903x.ili where county='17163' and slvl='160' and totpop ge 5000; quit;