x cd /pub/data/eeo2000/Tools; %let pgm=invoke_dosets; filename pgm "&pgm..sas"; /*--Invoke the %doset macro to create observations in the Datasets dataset for this directory. J. Blodgett, OSEDA, Dec., 2003 -- */ title "Job to Invoke doset Macro for Sets in eeo2000, creating eeo2000.datasets"; libname eeo2000 '/pub/data/eeo2000'; libname eeo (eeo2000); %let filetype=eeo2000; *-----Run this step ONLY ONCE------------------------------------------; *----If you need to rerun (start over) then delete the datasets dataset first. doset will not allow initialize mode if the datasets set already exists.---; %*doset(mode=initialize, libname=eeo2000,debug=1); *----------------------------------------------------------------------; /*<=========================Comment out===================================== *---------------------Table Group A------------------------------------; *---Define template for the first 7 datasets, the "A" group (based on residence geography)---; %doset(mode=,libname=eeo2000, memname=_template_a, memlabel=, units=, Year=2000, CreatePgm=cnvttbls, Keywords=census 2000 eeo occupation workforce employment race hispanic, Keyvars= SumLev GeoCode State csarea msapmsa ~occvar, Keyfmats=Sumlev eeogeo state csarea msapmsa ~occfmt, Description=%nrbquote(Custom tabulations of the Civilian Labor Force Aggregated by residential geography. ), DataSource=%str(2000 Census - EEO Special Tab Product rel. Dec/2003), SortedBy=SumLev Geocode, UsageNotes=%nrbquote(), SubType=, SetGroup=us, VarSet=, URLMeta=%str(https://mcdc.missouri.edu/applications/uexplore.php?/pub/data/eeo2000/sas_doc), debug=0) *------------------Table 1-----------------------------*; %let occvar=cenocc; %let occfmt=cenocc; %doset(libname=&filetype, memname=ustable1,template=_template_a, memlabel=%nrbquote(472 Census Occ. Categories by Residence down to County Sets), geouniv=United_States, units=US State MSA PMSA CountySet, Description=%nrbquote(+ This is one of the largest non-flow datasets with very detailed occupation data (472 census codes), and 4 levels of geography down to counties of 50,000+ and County Sets. Data for the usual 12 EEO Race/Hispanic categories by Sex.), UsageNotes=%nrbquote(+), SubType=table1, SetGroup=us) ; %doset(libname=&filetype, memname=motable1,template=ustable1, geouniv=Missouri,sortprio=1, units=State CountySet, Keyvars= SumLev GeoCode State csarea &occvar, Keyfmats=Sumlev eeogeo state csarea &occfmt, UsageNotes=%nrbquote(+ , setgroup=mo); *------------------Table 2-----------------------------*; %let occvar=opm; %let occfmt=opmocc; %doset(libname=&filetype, memname=ustable2,template=_template_a, memlabel=%nrbquote(268 OPM Occ. Categories by Residence down to County Sets), geouniv=United_States, units=US State MSAs PMSA CountySet, Description=%nrbquote(+ This is one of the larger non-flow datasets with 268 OPM Federal Workforce occupation groups and the same 4 levels of geography as Table 1. Data for the usual 12 EEO Race/Hispanic categories by Sex.), UsageNotes=%nrbquote(+), SubType=table1, SetGroup=us) ; %doset(libname=&filetype, memname=motable2,template=ustable2, geouniv=Missouri,sortprio=1, units=State CountySet, Keyvars= SumLev GeoCode State csarea &occvar, Keyfmats=Sumlev eeogeo state csarea &occfmt, UsageNotes=%nrbquote(+ , setgroup=mo); *------------------Table 5-----------------------------*; %let occvar=st_loc; %let occfmt=stloc; %doset(libname=&filetype, memname=ustable5,template=_template_a, memlabel=%nrbquote(8 State & Local Govt Occ. Cats by Residence down to County & large place), geouniv=United_States, units=US State MSA PMSA County Place50k, keyvars=SumLev GeoCode State County Place MsaPmsa &occvar, Keyfmats=Sumlev eeogeo state county fplace msapmsa &occfmt, Keyquals= | | | | state, Description=%nrbquote(+ State and Local Job Categories (8) for US, states, counties, metro areas and places of 50,000 or more. Data for the usual 12 EEO Race/Hispanic categories by Sex.), UsageNotes=%nrbquote(+), SubType=table5, SetGroup=us) ; %doset(libname=&filetype, memname=motable5,template=ustable5, geouniv=Missouri,sortprio=1, units=State County Place50k, Keyvars= SumLev GeoCode State County Place &occvar, Keyfmats=Sumlev eeogeo state county fplace &occfmt, Keyquals= | | | | state, UsageNotes=%nrbquote(+ , setgroup=mo); *------------------Table 6-----------------------------*; %let occvar=; %let occfmt=; %doset(libname=&filetype, memname=ustable6,template=_template_a, memlabel=%nrbquote(Younger Age Groups & Ed Attainment for Counties & Places of 50k+), geouniv=United_States, units=County Place50k, Keywords=census 2000 eeo workforce race hispanic age education, keyvars=SumLev GeoCode State County Place &occvar, Keyfmats=Sumlev eeogeo state county fplace &occfmt, Keyquals= | | | | state, Description=%nrbquote(+Younger Age Groups, Educational Attainment, Race/Ethnicity and Sex for all counties and places of 50,000 or more. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=table6, SetGroup=us) ; %doset(libname=&filetype, memname=motable6,template=ustable6, geouniv=Missouri,sortprio=1, units=County Place50k, Keyvars= SumLev GeoCode State County Place &occvar, Keyfmats=Sumlev eeogeo state county fplace &occfmt, Keyquals= | | | | state, UsageNotes=%nrbquote(+ , setgroup=mo); *------------------Table 7-----------------------------*; %let occvar=; %let occfmt=; %doset(libname=&filetype, memname=ustable7,template=_template_a, memlabel=%nrbquote(Younger Age Groups & Ed Attainment for US, States & Metros), geouniv=United_States, units=US State MSA PMSA, Keywords=census 2000 eeo workforce race hispanic age education, keyvars=SumLev GeoCode State msapmsa &occvar, Keyfmats=Sumlev eeogeo state msapmsa &occfmt, Keyquals=, Description=%nrbquote(+Younger Age Groups, Educational Attainment(6), Race/Ethnicity and Sex for US totals, states and metro areas. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=table7, SetGroup=us) ; %doset(libname=&filetype, memname=motable7,template=ustable7, geouniv=Missouri,sortprio=1, units=County Place50k, Keyvars= SumLev GeoCode State &occvar, Keyfmats=Sumlev eeogeo state &occfmt, Keyquals=, UsageNotes=%nrbquote(+ , setgroup=mo); *-------------------Alternative view datasets (radical restructurings)-------------------*; %doset(libname=&filetype, memname=altustable1,template=ustable1, memlabel=%str(One-Obs-Per-Cell Alternate view of ustable1 data), units=t1_table_cells, sortprio=4, keyvars=SumLev GeoCode State cenocc race hispanic rhtype, keyfmats=sumlev eeogeo state cenocc | | | , description=%nrbquote(Experimental dataset in which we have replaced the 24-cell table of the ustable1 dataset with 1 obs per non-zero cell per geography/occupation code. Makes for a very long skinny dataset, one that may be easier to use for some.), UsageNotes=%nrbquote(), subtype=altview1, setgroup=us, debug=0); %doset(libname=&filetype, memname=altustable23,template=altustable1, memlabel=%str(One-Obs-Per-Cell Alternate view of table23 data), units=t23_table_cells, sortprio=4, keyvars=sumlev geocode workstate workcounty cenocc Industry rhtype race hispanic , keyfmats=sumlev eeogeo state eeocnty cenocc eeo_ind , description=%nrbquote(Detailed Occs x Industry x Race/Hisp x Sex-US, Cos & Plcs 100K+), UsageNotes=%nrbquote(), subtype=altview1, setgroup=us, debug=0); ===========================End commented out================================ */ *---------------------Table Group B ------------------------------------; *---Define template for tables 8 - 19 datasets, the "B" group (based on workplace / residence geography)---; %doset(mode=,libname=eeo2000, memname=_template_b, memlabel=, units=, Year=2000, CreatePgm=cnvttbls, Keywords=census 2000 eeo occupation workforce employment race hispanic, Keyvars= SumLev GeoCode State csarea msapmsa ~occvar, Keyfmats=Sumlev eeogeo state csarea msapmsa ~occfmt, Description=%nrbquote(Custom tabulations of the Civilian Labor Force Aggregated by worksite/residential geography. ), DataSource=%str(2000 Census - EEO Special Tab Product rel. Dec/2003), UsageNotes=%nrbquote(), SubType=, SetGroup=us, VarSet=, URLMeta=%str(https://mcdc.missouri.edu/applications/uexplore.php?/pub/data/eeo2000/sas_doc), debug=0) *------------------Table 8-----------------------------*; %let occvar=occvar; %let occfmt=occfmt; %doset(libname=&filetype, memname=ustable8,template=_template_b, memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties only), geouniv=United_States, units=CountyCounty, Keywords=, keyvars= cenocc pow_geo_cty res_geo_cty racehsp qsex, Keyfmats=cenocc eeocnty eeocnty eeorace eeosex , Keyquals=, Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for counties of worksite and residence. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable8, SetGroup=us) ; %doset(libname=&filetype, memname=motable8,template=ustable8, geouniv=Missouri,sortprio=1, units=CountyCounty, Keyvars = cenocc pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= cenocc eeocnty eeocnty eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 9-----------------------------*; %let occvar=occvar; %let occfmt=occfmt; %doset(libname=&filetype, memname=ustable9,template=_template_b, memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties only), geouniv=United_States, units=CountyCounty, Keywords=, keyvars= opm OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats=opmocc opmocc eeocnty eeocnty eeorace eeosex , Keyquals=, Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for counties of worksite and residence. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable9, SetGroup=us) ; %doset(libname=&filetype, memname=motable9,template=ustable9, geouniv=Missouri,sortprio=1, units=CountyCounty, Keyvars = opm OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= opmocc opmocc eeocnty eeocnty eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 12-----------------------------*; %let occvar=occvar; %let occfmt=occfmt; %doset(libname=&filetype, memname=ustable12,template=_template_b, memlabel=%nrbquote(Aggregated Occupations for counties only), geouniv=United_States, units=CountyCounty, Keywords=, Keyvars = st_loc pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= stloc eeocnty eeocnty eeorace eeosex, Keyquals=, Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for central worksite county of 50K or more, one residual area which agrregates all counties not included in the up to nine areas. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable12, SetGroup=us) ; %doset(libname=&filetype, memname=motable12,template=ustable12, geouniv=Missouri,sortprio=1, units=CountyCounty, Keyvars = st_loc pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= stloc eeocnty eeocnty eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 13-----------------------------*; %let occvar=occvar; %let occfmt=occfmt; %doset(libname=&filetype, memname=ustable13,template=_template_b, memlabel=%nrbquote(Aggregated Occupations for counties only), geouniv=United_States, units=CountyCounty, Keywords=, Keyvars = pow_geo_cty res_geo_cty racehsp qsex youngage educ5, Keyfmats= eeocnty eeocnty eeorace eeosex eeoyng eeo5edu, Keyquals=, Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for central worksite county of 50K or more, one residual area which agrregates all counties not included in the up to nine areas. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable13, SetGroup=us) ; %doset(libname=&filetype, memname=motable13,template=ustable13, geouniv=Missouri,sortprio=1, units=CountyCounty, Keyvars = pow_geo_cty res_geo_cty racehsp qsex youngage educ5, Keyfmats= eeocnty eeocnty eeorace eeosex eeoyng eeo5edu, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 14-----------------------------*; %let occvar=occvar; %let occfmt=occfmt; %doset(libname=&filetype, memname=ustable14,template=_template_b, memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties and places), geouniv=United_States, units=CountyCounty, Keywords=, Keyvars = cenocc OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= cenocc cenocc eeocnty eeocnty eeorace eeosex, Keyquals=, Description=%nrbquote(+Younger Age Groups, Detailed Census Occupational Categories, Race/Ethnicity and Sex for central worksite with flows from up to nine individual counties, one residual area which aggregates all counties, places, and balance of counties not included in the nine areas separately identified. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable14, SetGroup=us) ; %doset(libname=&filetype, memname=motable14,template=ustable14, geouniv=Missouri,sortprio=1, units=CountyCounty, Keyvars = cenocc OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= cenocc cenocc eeocnty eeocnty eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 15-----------------------------*; %let occvar=opm; %let occfmt=opmfmt; %doset(libname=&filetype, memname=ustable15,template=_template_b, memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties and places), geouniv=United_States, units=Place50Place50, Keywords=, Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex, Keyquals=, Description=%nrbquote(+Younger Age Groups, Occupation Name, CountiesRace, Ethnicity and Sex for central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties, places, and balance of counties not included in the nine areas separately identified. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable15, SetGroup=us) ; %doset(libname=&filetype, memname=motable15,template=ustable15, geouniv=Missouri,sortprio=1, units=Place50Place50, Keyvars = opm OccName pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= cenocc cenocc wrkflw wrkflw eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 18-----------------------------*; %let occvar=occvar; %let occfmt=occfmt; %doset(libname=&filetype, memname=ustable18,template=_template_b, memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties and places), geouniv=United_States, units=Place50Place50, Keywords=, Keyvars = st_loc pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= stloc wrkflw wrkflw eeorace eeosex, Keyquals=, Description=%nrbquote(+Younger Age Groups, Place 50K, Place 50K, Race/Ethnicity and Sex for central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties, places, and balance of counties not included in the nine areas separately identified. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable18, SetGroup=us) ; %doset(libname=&filetype, memname=motable18,template=ustable18, geouniv=Missouri,sortprio=1, units=Place50Place50, Keyvars = st_loc pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= stloc wrkflw wrkflw eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 19 -----------------------------*; %let occvar=occvar; %let occfmt=occfmt; %doset(libname=&filetype, memname=ustable19,template=_template_b, memlabel=%nrbquote(Younger Age Groups & Ed Attainment for Counties and Places), geouniv=United_States, units=Place50Place50, Keywords=, Keyvars = pow_geo_pl res_geo_pl racehsp qsex youngage educ5, Keyfmats= wrkflw wrkflw eeorace eeosex eeoyng eeo5edu, Keyquals=, Description=%nrbquote(+Younger Age Groups, Educational Attainment(6), Race/Ethnicity and Sex for central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties, places, and balance of counties not included in the nine areas separately identified. . See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable19, SetGroup=us) ; %doset(libname=&filetype, memname=motable19,template=ustable19, geouniv=Missouri,sortprio=1, units=Place50Place50, Keyvars = pow_geo_pl res_geo_pl racehsp qsex youngage educ5, Keyfmats= wrkflw wrkflw eeorace eeosex eeoyng eeo5edu, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *---Define template for the last few datasets, the "C" group (based on worksite geography)---; %doset(mode=,libname=eeo2000, memname=_template_c, memlabel=, units=, Year=2000, CreatePgm=cnvttbls, Keywords=census 2000 eeo occupation workforce employment race hispanic worksite, Keyvars= ~occvar SumLev GeoCode State county place, Keyfmats=~occfmt Sumlev eeogeo state county fplace, Keyquals= | | | | | state, Description=%nrbquote(Custom tabulation of the Civilian Labor Force Aggregated by worksite geography. ), DataSource=%str(2000 Census - EEO Special Tab Product rel. Dec/2003), SortedBy=, UsageNotes=%nrbquote(), SubType=, SetGroup=us, VarSet=, URLMeta=%str(https://mcdc.missouri.edu/applications/uexplore.php?/pub/data/eeo2000/sas_doc), debug=0) *------------------Table 20 -----------------------------*; %let occvar=cenocc; %let occfmt=cenocc; %doset(libname=&filetype, memname=ustable20,template=_template_c, memlabel=%nrbquote(Detailed Occupational Categories by Ed Attainment(6), U.S. Totals Only), geouniv=United_States, units=UnitedStates, Keywords=, Description=%nrbquote(Detailed Occupation (471) by Race/Ethnicity, Sex and Educational Attainment(6), US Totals only), UsageNotes=%nrbquote(+), SubType=ustable20, SetGroup=us) ; *---no moview for table 20---; *------------------Table 21 -----------------------------*; %doset(libname=&filetype, memname=ustable21,template=_template_c, memlabel=%nrbquote(Detailed Occs(471) by Race/Ethnicity(12), Sex(2) and Ed Attainment(5), Counties/Places of 100,000+), geouniv=United_States, units=County100 Place100, Keywords=, Keyvars = &occvar sumlev workstate workcounty workplacece geocode, Keyfmats= &occfmt sumlev state county cenplc eeogeo, Keyquals= | | | | workstate, Description=%nrbquote(Detailed Occupational Categories (471) by Race/Ethnicity(12) by Sex(2) and Educational Attainment(5) for Counties and Places of 100,000 or more population.), SubType=ustable21, SetGroup=us) ; %doset(libname=&filetype, memname=motable21,template=ustable21, geouniv=Missouri,sortprio=1, UsageNotes=%nrbquote(+ ) , setgroup=mo); %let occvar=cenocc; %let occfmt=cenocc; *------------------Table 22 -----------------------------*; %doset(libname=&filetype, memname=ustable22,template=_template_c, memlabel=%nrbquote(Detailed Occs(471) by Race/Ethnicity(12), Sex(2) and Older Age grps(4), US and Counties/Places of 100,000+), geouniv=United_States, units=US County100 Place100, Keywords=, Keyvars = &occvar sumlev workstate workcounty workplacece geocode, Keyfmats= &occfmt sumlev state county cenplc eeogeo, Keyquals= | | | | workstate, Description=%nrbquote(Detailed Occupational Categories (471) by Race/Ethnicity(12) by Sex(2) and Older Age Groups(4) for US Totals, Counties and Places of 100,000 or more population.), SubType=ustable22, SetGroup=us) ; %doset(libname=&filetype, memname=motable22,template=ustable22, geouniv=Missouri,sortprio=1, units=County100 Place100, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 24 -----------------------------*; %doset(libname=&filetype, memname=ustable24,template=_template_c, memlabel=%nrbquote(Detailed Occs(471) by Race/Ethnicity(12), Sex(2) and Earnings(8), US and Counties/Places of 100,000+), geouniv=United_States, units=US County100 Place100, Keywords=, Keyvars = &occvar sumlev workstate workcounty workplacece geocode, Keyfmats= &occfmt sumlev state county cenplc eeogeo, Keyquals= | | | | workstate, Description=%nrbquote(Detailed Occupational Categories (471) by Race/Ethnicity(12) by Sex(2) and Earnings (8) for US Totals, Counties and Places of 100,000 or more population.), UsageNotes=%nrbquote(+), SubType=ustable24, SetGroup=us) ; %doset(libname=&filetype, memname=motable24,template=ustable24, units=County100 Place100, geouniv=Missouri,sortprio=1, UsageNotes=%nrbquote(+) , setgroup=mo); /*<=========================Comment out===================================== *=================================Late tables using eeo occupation categories==========================*; *------------------Table 3-----------------------------*; %let occvar=eeo; %let occfmt=eeofmt; %doset(libname=&filetype, memname=ustable3,template=_template_a, memlabel=%nrbquote(14 EEO Occ. Cats by Residence down to County & large place), geouniv=United_States, units=US State MSA PMSA County Place50k, keyvars=SumLev GeoCode State County Place MsaPmsa &occvar, Keyfmats=Sumlev eeogeo state county fplace msapmsa &occfmt, Keyquals= | | | | state, Description=%nrbquote(+ EEO Job Categories (14) for US, states, counties, metro areas and places of 50,000 or more. Data for the usual 12 EEO Race/Hispanic categories by Sex.), UsageNotes=%nrbquote(+), SubType=table3, SetGroup=us) ; %doset(libname=&filetype, memname=motable3,template=ustable3, geouniv=Missouri,sortprio=1, units=State County Place50k, Keyvars= SumLev GeoCode State County Place &occvar, Keyfmats=Sumlev eeogeo state county fplace &occfmt, Keyquals= | | | | state, UsageNotes=%nrbquote(+ , setgroup=mo); *------------------Table 4-----------------------------*; %let occvar=eeo_1; %let occfmt=eeo1fm; %doset(libname=&filetype, memname=ustable4,template=_template_a, memlabel=%nrbquote(9 EEO_1 Occ. Cats by Residence down to County & large place), geouniv=United_States, units=US State MSA PMSA County Place50k, keyvars=SumLev GeoCode State County Place MsaPmsa &occvar, Keyfmats=Sumlev eeogeo state county fplace msapmsa &occfmt, Keyquals= | | | | state, Description=%nrbquote(+ EEO Job Categories (14) for US, states, counties, metro areas and places of 50,000 or more. Data for the usual 12 EEO Race/Hispanic categories by Sex.), UsageNotes=%nrbquote(+), SubType=table4, SetGroup=us) ; %doset(libname=&filetype, memname=motable4,template=ustable4, geouniv=Missouri,sortprio=1, units=State County Place50k, Keyvars= SumLev GeoCode State County Place &occvar, Keyfmats=Sumlev eeogeo state county fplace &occfmt, Keyquals= | | | | state, UsageNotes=%nrbquote(+ , setgroup=mo); *------------------Table 10-----------------------------*; %let occvar=eeo; %let occfmt=eeofmt; %doset(libname=&filetype, memname=ustable10,template=_template_b, memlabel=%nrbquote(EEO Occupational Groups (14) for counties only), geouniv=United_States, units=CountyCounty, Keywords=, keyvars= &occvar OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats=&occfmt &occfmt eeocnty eeocnty eeorace eeosex , Keyquals=, Description=%nrbquote(Race/Ethnicity and Sex for counties of worksite and residence. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable10, SetGroup=us) ; %doset(libname=&filetype, memname=motable10,template=ustable10, geouniv=Missouri,sortprio=1, units=CountyCounty, Keyvars = &occvar OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= &occfmt &occfmt eeocnty eeocnty eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 11-----------------------------*; %let occvar=eeo_1; %let occfmt=eeo1fm; %doset(libname=&filetype, memname=ustable11,template=_template_b, memlabel=%nrbquote(EEO Occupational Groups (9) for counties only), geouniv=United_States, units=CountyCounty, Keywords=, keyvars= &occvar OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats=&occfmt &occfmt eeocnty eeocnty eeorace eeosex , Keyquals=, Description=%nrbquote(Race/Ethnicity and Sex for counties of worksite and residence. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable11, SetGroup=us) ; %doset(libname=&filetype, memname=motable11,template=ustable10, geouniv=Missouri,sortprio=1, units=CountyCounty, Keyvars = &occvar OccName pow_geo_cty res_geo_cty racehsp qsex, Keyfmats= &occfmt &occfmt eeocnty eeocnty eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 16-----------------------------*; %let occvar=eeo; %let occfmt=eeofmt; %doset(libname=&filetype, memname=ustable16,template=_template_b, memlabel=%nrbquote(EEO Occupational Groups (14) for counties and places), geouniv=United_States, units=Place50Place50, Keywords=, Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex, Keyquals=, Description=%nrbquote(+Race/Ethnicity and Sex for central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties, places, and balance of counties not included in the nine areas separately identified. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable16, SetGroup=us) ; %doset(libname=&filetype, memname=motable16,template=ustable16, geouniv=Missouri,sortprio=1, units=Place50Place50, Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); *------------------Table 17-----------------------------*; %let occvar=eeo_1; %let occfmt=eeo1fm; %doset(libname=&filetype, memname=ustable17,template=_template_b, memlabel=%nrbquote(EEO Occupational Groups (9) for counties and places), geouniv=United_States, units=Place50Place50, Keywords=, Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex, Keyquals=, Description=%nrbquote(+Race/Ethnicity and Sex for central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties, places, and balance of counties not included in the nine areas separately identified. See Appendix 4.2 for category detail.), UsageNotes=%nrbquote(+), SubType=ustable17, SetGroup=us) ; %doset(libname=&filetype, memname=motable17,template=ustable17, geouniv=Missouri,sortprio=1, units=Place50Place50, Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex, Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex, Keyquals=, UsageNotes=%nrbquote(+) , setgroup=mo); ===========================End commented out================================ */ proc sort data=eeo2000.datasets out=bysortprio; by sortprio; run; proc print data=bysortprio; by libname notsorted libpath ; id memname; var SortPrio SetGroup SubType VarSet URLmeta GeoUniv years ; title2 'Listing of Selected Fields from eeo2000.datasets (Sorted by SortPrio)'; run ; proc datasets library=eeo2000 nolist; modify datasets; index delete dataset memname; index create dataset=(libname memname) / unique; index create memname; quit; options mprint msglevel=i; %gendshtm(libname=eeo2000,debug=1,runprocc=1); %include sascode(notify);