x cd /pub/data/stf903x2/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 Most of the datasets documented here no longer exist on this server. They got inadvertently deleted due to a disk crash/backup failure circa 2009. -- */ title "Job to Invoke doset Macro for Sets in stf903x2, creating stf903x2.datasets"; libname stf903x2 '/pub/data/stf903x2'; *-----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=stf903x2,debug=0); options source; %let todo=usplaces; *<======Set to actually process=================================; **************************************************************************************** * Do standard sets for each state * ****************************************************************************************; %doset(mode=,libname=stf903x2, memname=_template_msas90, memlabel=%nrbquote(Metro Area Summaries for ~statenm), geouniv=~statenm, units=Metropolitan Statistical Areas, Year=1990, CreatePgm=moilkscnvts_stf903x2, Keywords=stf3 standard extract demographic indicators income education poverty 1990 census sample, Description=%nrbquote(Standard demographic profile data for MSAs and CMSAs), keyvars=sumlev state msacmsa, keyfmats=sumlev state metro, keyquals=, keyidvars=, DataSource=%str(1990 Census, Summary Tape File 3), SortedBy=, UsageNotes=%nrbquote(