x cd /pub/data/stf803x2/Tools; %let pgm=invoke_dosets; filename pgm "&pgm..sas"; /*--Invoke the %doset macro to create observations in the Datasets dataset for this directory. IG, 3/06, 3/15/2006 jgb 4-6-06. jgb, adding usage note re dollar conversions 11-15. -- */ title "Job to Invoke doset Macro for Sets in stf803x2, creating stf803x2.datasets"; libname stf803x2 '/pub/data/stf803x2'; *-----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=stf803x2,debug=0); options source; %*let todo=usplaces; *<======Set to actually process=================================; **************************************************************************************** * Do standard sets for each state * ****************************************************************************************; /*<=========================Comment out===================================== %doset(mode=,libname=stf803x2, memname=_template_mcds11, memlabel=%nrbquote(MCD (Town/Township) Summaries for Selected States), geouniv=Selected States, units=mcd, Year=1980, CreatePgm=cnvtallstates_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Standard demographic profile data for MCDs in 11 Selected States), keyvars=state county fipsmcd, keyfmats=state county cousub , keyquals= | | county, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state county fipsmcd, UsageNotes=%nrbquote(Covers all of the New England and Mid Atlantic states plus MI and WI.), SubType=, SetGroup=us, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0); %doset(mode=,libname=stf803x2, memname=_template_misc, memlabel=%nrbquote(Miscellaneous Summaries for US), geouniv=UnitedStates, units=, Year=1980, CreatePgm=cnvtallstates_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Standard demographic profile data for miscellaneous US summary levels.), keyvars=sumlev state, keyfmats=sumlev state, keyquals=, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=, UsageNotes=, SubType=, SetGroup=us, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0); %doset(mode=,libname=stf803x2, memname=_template_places, memlabel=%nrbquote(Place Summaries for ~statenm), geouniv=UnitedStates, units=Places, Year=1980, CreatePgm=cnvtallstates_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Standard demographic profile data for places (160) summary level.), DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state geocode, UsageNotes=%nrbquote(These are the places as defined at the time of the 1980 census (1-1-80).), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0); %doset(mode=,libname=stf803x2, memname=_template_zips, memlabel=%nrbquote(Zipcode Summaries for ~statenm), geouniv=~statenm, units=Zipcodes, Year=1980, CreatePgm=cnvtallstates_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Standard demographic profile data for ZIP codes), keyvars=sumlev state county, keyfmats=sumlev state county, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3B.), SortedBy=state, UsageNotes=%nrbquote(