1 The SAS System 10:43 Tuesday, June 23, 2009 NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead. NOTE: All registry changes will be lost at the end of the session. WARNING: Unable to copy SASUSER registry to WORK registry. Because of this, you will not see registry customizations during this session. NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) 9.1 (TS1M3) Licensed to THE CURATORS OF THE UNIV OF MISSOURI - T&R, Site 0001242018. NOTE: This session is executing on the AIX 5.2 platform. NOTE: SAS 9.1.3 Service Pack 4 NOTE: SAS initialization used: real time 0.28 seconds cpu time 0.10 seconds NOTE: AUTOEXEC processing beginning; file is /home/john/autoexec.sas. v8= 0 v9= 1 ***** ****** Standard OSEDA/MCDC autoexec (autoexec9.sas in sascode) rev. 12/28/2004 3:06PM - Begin execution ******* _v9= v9 Standard filerefs and librefs assigned ***** NOTE: Libref SF32000X was successfully assigned as follows: Levels: 1 Engine(1): V9 Physical Name(1): /pub/data/sf32000x NOTE: Libref SF3X was successfully assigned as follows: Levels: 1 Engine(1): V9 Physical Name(1): /pub/data/sf32000x NOTE: Libref INDCTRS was successfully assigned as follows: Levels: 1 Engine(1): V9 Physical Name(1): /pub/data/indctrs NOTE: Libname LIBRARY refers to the same physical library as SASCTLGS. NOTE: Libref LIBRARY was successfully assigned as follows: Engine: V9 Physical Name: /pub/sasctlgs/v9 ****Finished with generic autoexec **** *** ****Executing my private autoexec.sas file, rev. 02/28/2006 7:40AM WARNING: Library MAPS is not assigned in this scope. WARNING: Library GISMAPS is not assigned in this scope. ***** dmsflag= NODMS dmchk execution begins *** **Begin execution on Tuesday 23JUN09 at 10:43 PID=491662 NOTE: AUTOEXEC processing completed. 1 x cd /pub/data/sf32000/Tools 1 ! ; %let pgm=invoke_dosets; filename pgm "&pgm..sas"; 2 The SAS System 10:43 Tuesday, June 23, 2009 2 /*--Invoke the %doset macro to create observations in the Datasets dataset for this directory. 3 J. Blodgett, OSEDA, Apr., 2009 (this is the "do-over" version created after we lost our data and had 4 to restore and/or reconvert it, spring, 2009. 5 -- */ 6 title "Job to Invoke doset Macro for Sets in sf32000, creating sf32000.datasets"; 7 8 9 libname sf32000 '/pub/data/sf32000'; NOTE: Libref SF32000 was successfully assigned as follows: Engine: V9 Physical Name: /pub/data/sf32000 10 11 *-----Run this step ONLY ONCE------------------------------------------; 12 *----If you need to rerun (start over) then delete the datasets dataset first. doset will not 13 allow initialize mode if the datasets set already exists.---; 14 %***doset(mode=initialize, 15 libname=sf32000,debug=0); 16 *----------------------------------------------------------------------; 17 18 %global todo; 19 20 %*let todo=uspumas; 21 %**let todo=mozips ilzips; 22 %*let todo=moregns06ph morgns06phct moregns06phctr moregns06; 23 %*let todo=usgeocompgeos usgeocompsgeos usgeocompsph usgeocompsphct usgeocompsphctr 24 uscousubsgeo uscousubsph uscousubsphct uscousubsphctr; 25 %let todo= usuasph usuasphct usuasphctr 26 usmetrosph usmetrosphct usmetrosphctr 27 uscds106ph uscds106phct uscds106phctr; 28 %let statenm=Missouri; 29 30 /* =======================Begin comment================ 31 *==============================1-time Fix run to delete obsolete contents-only observations from datasets----; 32 data sf32000.datasets_edited; set sf32000.datasets; 33 where libname ne " "; 34 run; 35 *---ran this step (above) from DM. After which we deleted the old datasets data set and renamed datasets_edited to 35 ! datasets.---; 36 proc datasets library=sf32000 nolist; 37 modify datasets; 38 index delete dataset memname; 39 index create dataset=(libname memname) / unique; 40 index create memname; 41 quit; 42 ======================End comment================== */ 43 44 %doset(mode=,libname=sf32000, 45 memname=usgeos, 46 memlabel=%nrbquote(Geographic variables only for all available U.S. summaries), 47 geouniv=UnitedStates, 48 units=Too many to list, 49 Year=2000, 50 CreatePgm=usgeos, 51 Description=%nrbquote(Contains just the geographic ID fields as read from the Census Bureau usgeo3_uf3 51 ! file. 52 We separated out the rows for geographic component summaries and stored those on the usgeocompgeos dataset. ), 3 The SAS System 10:43 Tuesday, June 23, 2009 53 keyvars=SumLev state county placefp msacmsa pmsa ua msacmsa pmsa, 54 keyfmats=sumlev state county fplace metro metro uauc2k metro pmsa, 55 keyquals=| | | state | | | | |, 56 keyidvars=, 57 DataSource=%str(2000 Census, Summary File 3.), 58 SortedBy=LogRecNo, 59 UsageNotes=%nrbquote(), 63 SubType=geos, 64 SetGroup=us, 65 VarSet=, 66 URLMeta=%str(http://mcdc2.missouri.edu/pub/data/sf32000/Tools/usgeos_reports.html), 67 debug=0) ***Not executed because usgeos is not on todo list*** 68 69 70 71 %doset(mode=,libname=sf32000, 72 memname=usgeocompgeos, 73 memlabel=%nrbquote(Geographic variables only for all summaries involving a geographic component summary), 74 geouniv=UnitedStates, 75 units=Geographic Components, 76 Year=2000, 77 CreatePgm=usgeos, 78 Description=%nrbquote(Contains just the geographic ID fields as read from the Census Bureau usgeo3_uf3 78 ! file. 79 We kept only the geographic component summaries on this dataset. ), 80 keyvars=SumLev state geocomp, 81 keyfmats=sumlev state geocomp, 82 keyidvars=, 83 DataSource=%str(2000 Census, Summary File 3.), 84 SortedBy=LogRecNo, 85 UsageNotes=%str(), 89 SubType=geos, 90 SetGroup=us, 91 VarSet=, 92 URLMeta=%str(http://factfinder.census.gov/home/en/epss/geo_components_2.html), 93 debug=0) ***Not executed because usgeocompgeos is not on todo list*** 94 95 96 %doset(mode=,libname=sf32000, 97 memname=usplacesgeos, 98 memlabel=%nrbquote(Geographic variables only for place level summaries), 99 geouniv=UnitedStates, 100 units=Places, 101 Year=2000, 102 CreatePgm=cnvtsf3us, 4 The SAS System 10:43 Tuesday, June 23, 2009 103 Description=%nrbquote(Contains just the geographic ID fields as read from the Census Bureau usgeo3_uf3 103 ! file. 104 We kept only the place and place-within-county level data on this dataset. ), 105 keyvars=SumLev state placefp, 106 keyfmats=sumlev state fplace , 107 keyquals=%str(| | state), 108 keyidvars=, 109 DataSource=%str(2000 Census, Summary File 3.), 110 SortedBy=LogRecNo, 111 UsageNotes=%str(), 113 SubType=geos, 114 SetGroup=us, 115 VarSet=, 116 URLMeta=, 117 debug=0) ***Not executed because usplacesgeos is not on todo list*** 118 119 120 %doset(mode=,libname=sf32000, 121 memname=usregdivgeos, 122 memlabel=%nrbquote(Geographic variables only for nation, region and division level summaries), 123 geouniv=UnitedStates, 124 units=Nation Region Division, 125 Year=2000, 126 CreatePgm=cnvtsf3us, 127 Description=%nrbquote(Contains just the geographic ID fields as read from the Census Bureau usgeo3_uf3 127 ! file. 128 We kept only the nation totals, Census region and divsion level data on this dataset. ), 129 keyvars=SumLev geocomp, 130 keyfmats=sumlev geocomp, 131 keyquals=%str(| | ), 132 DataSource=%str(2000 Census, Summary File 3.), 133 SortedBy=LogRecNo, 134 UsageNotes=%str(), 136 SubType=geos, 137 SetGroup=us, 138 VarSet=, 139 URLMeta=, 140 debug=0) ***Not executed because usregdivgeos is not on todo list*** 141 142 143 %doset(mode=,libname=sf32000, 144 memname=usuasgeos, 145 memlabel=%nrbquote(Geographic variables only for Urban Areas and UA-within-state level summaries), 146 geouniv=UnitedStates, 147 units=Urban Areas, 148 Year=2000, 149 CreatePgm=cnvtsf3us, 150 Description=%nrbquote(Contains just the geographic ID fields as read from the Census Bureau usgeo3_uf3 150 ! file. 151 We kept only the complete UA (400) and UA-within-state (410) levels on this dataset. ), 152 keyvars=SumLev ua state, 153 keyfmats=sumlev uauc2k state, 5 The SAS System 10:43 Tuesday, June 23, 2009 154 keyquals=%str(| | | ), 155 DataSource=%str(2000 Census, Summary File 3.), 156 SortedBy=LogRecNo, 157 UsageNotes=%str(), 159 SubType=geos, 160 SetGroup=us, 161 VarSet=, 162 URLMeta=, 163 debug=0) ***Not executed because usuasgeos is not on todo list*** 164 165 166 %doset(mode=,libname=sf32000, 167 memname=uszipsgeos, 168 memlabel=%nrbquote(Geographic variables only for ZIP/ZCTA 3- and 5-digit levels), 169 geouniv=UnitedStates, 170 units=%str(3-digit ZCTA, 5-digit ZCTA), 171 Year=2000, 172 CreatePgm=cnvtsf3us, 173 Description=%nrbquote(Contains just the geographic ID fields as read from the Census Bureau usgeo3_uf3 173 ! file. 174 We kept only the complete 3-digit and 5-digit ZCTA levels on this dataset. ), 175 keyvars=SumLev , 176 keyfmats=sumlev , 177 keyquals=%str(| ), 178 DataSource=%str(2000 Census, Summary File 3.), 179 SortedBy=LogRecNo, 180 UsageNotes=%str(), 182 SubType=geos, 183 SetGroup=us, 184 VarSet=, 185 URLMeta=, 186 debug=0) ***Not executed because uszipsgeos is not on todo list*** 187 188 189 %doset(mode=,libname=sf32000, 190 memname=moph, 191 memlabel=%nrbquote(P and H tables for Missouri), 192 geouniv=Missouri, 193 units=%str(Many, down to BG), 194 Year=2000, 195 CreatePgm=cnvtsf3, 196 Description=%nrbquote(Contains just the P and H tables for all MO geography levels down to Block Group), 197 keyvars=SumLev geocomp county placefp msacmsa pmsa , 198 keyfmats=sumlev geocomp county fplace metro metro , 199 keyquals=| | | state | |, 200 keyidvars=, 201 DataSource=%str(2000 Census, Summary File 3.), 202 SortedBy=LogRecNo, 203 UsageNotes=%nrbquote( ), 204 SubType=ph, 205 SetGroup=mo, 206 VarSet=Variablesph, 6 The SAS System 10:43 Tuesday, June 23, 2009 207 URLMeta=%str(http://mcdc2.missouri.edu/pub/data/sf32000/Varlabs/Plabels.txt), 208 debug=0) ***Not executed because moph is not on todo list*** 209 210 %doset(mode=,libname=sf32000, 211 memname=mophct, 212 memlabel=%nrbquote(PCT and HCT tables for Missouri), 213 geouniv=Missouri, 214 units=%str(Many, down to Tract), 215 Year=2000, 216 CreatePgm=cnvtsf3, 217 Description=%nrbquote(PCT and HCT tables (exc PCTr & HCTr) for all MO geography levels down to Tract), 218 keyvars=SumLev geocomp county placefp msacmsa pmsa , 219 keyfmats=sumlev geocomp county fplace metro metro , 220 keyquals=| | | state | |, 221 keyidvars=, 222 DataSource=%str(2000 Census, Summary File 3.), 223 SortedBy=LogRecNo, 224 UsageNotes=%nrbquote(These more detailed CT tables are not published for levels below Census Tract), 225 SubType=phct, 226 SetGroup=mo, 227 VarSet=Variablesphct, 228 URLMeta=%str(http://mcdc2.missouri.edu/pub/data/sf32000/Varlabs/PCTlabels.txt), 229 debug=0) ***Not executed because mophct is not on todo list*** 230 231 232 %doset(mode=,libname=sf32000, 233 memname=mophctr, 234 memlabel=%nrbquote(PCT and HCT tables for Missouri), 235 geouniv=Missouri, 236 units=%str(Many, down to Tract), 237 Year=2000, 238 CreatePgm=cnvtsf3, 239 Description=%nrbquote(PCT and HCT tables by Race & Hispanic for all MO geography levels down to Tract), 240 keyvars=SumLev geocomp county placefp msacmsa pmsa , 241 keyfmats=sumlev geocomp county fplace metro metro , 242 keyquals=| | | state | |, 243 keyidvars=, 244 DataSource=%str(2000 Census, Summary File 3.), 245 SortedBy=LogRecNo, 246 UsageNotes=%nrbquote(