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. E.J. Cleveland, OSEDA, June, 2003 J. Blodgett, 8/05 IG, 3/06, 3/15/2006 -- */ 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 * ****************************************************************************************; %doset(mode=,libname=stf803x2, memname=_template_mcds11, memlabel=%nrbquote(Place Summaries for ~statenm), geouniv=~statenm, units=Places, Year=1980, CreatePgm=cnvtallstates_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for places (060) summary level.), keyvars=sumlev county state, keyfmats=state county state | , keyquals=, keyidvars=| areaname, 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(http://mcdc2.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0); %doset(mode=,libname=stf803x2, memname=_template_misc, memlabel=%nrbquote(Place Summaries for ~statenm), geouniv=~statenm, units=Places, Year=1980, CreatePgm=cnvtallstates_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for miscellaneous places summary levels.), keyvars=sumlev county state, keyfmats=state county state| , keyquals=, keyidvars=| areaname, 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(http://mcdc2.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0); %doset(mode=,libname=stf803x2, memname=_template_places, memlabel=%nrbquote(Place Summaries for ~statenm), geouniv=~statenm, units=Places, Year=1980, CreatePgm=cnvtallstates_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for places (160) summary level.), keyvars=sumlev county state, keyfmats=state | , keyquals=, keyidvars=| areaname, 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(http://mcdc2.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(Contains the standard demographic profile data for zipcodes (871 881) summary level as defined by the U.S. Census Bureau. ), keyvars=sumlev state county, keyfmats=sumlev state county, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state county geocode, UsageNotes=%nrbquote(