1 The SAS System 15:27 Thursday, November 7, 2002 NOTE: Copyright (c) 1989-1996 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software Release 6.12 TS020 Licensed to HARVARD SCHOOL OF PUBLIC HEALTH-INSTRUCTIONAL COMP, Site 0001177014. This sas license runs from Aug 15, 2002 to Aug 15, 2003 with a grace period up till Sep 15, 2003. NOTE: AUTOEXEC processing beginning; file is /usr/sunos/local/sas612/autoexec.sas. NOTE: SAS initialization used: real time 0.220 seconds cpu time 0.041 seconds NOTE: AUTOEXEC processing completed. 1 options obs=6; 2 *options pagesize=60 linesize=72; 3 /************************************************************************************** 4 * Mort85.sas by Jean Roth, jroth@nber.org, November 4, 2002. 5 * This program reads the 1985 Mortality, Multiple Cause of Death Data Files 6 * and outputs a SAS dataset, mort85.ssd01, containing all 1,993,137 records. 7 * The SAS dataset can be transferred to other formats using conversion software 8 * such as Stat/Transfer 9 **************************************************************************************/ 10 libname library './'; NOTE: Libref LIBRARY was successfully assigned as follows: Engine: V612 Physical Name: /disk/u6/SCCS/mortality 11 *filename raw pipe "zcat /home/data/mortality/1985/data/mort85.dat.Z"; 12 13 ; 14 DATA mort85; 15 length default=4.; 16 INFILE '/home/data/mortality/1985/data/mort85.dat' recfm=f lrecl=442 missover; 17 *INFILE raw recfm=f lrecl=442 ; 18 INPUT 19 @1 DATAYEAR 2. 20 @3 REPAREA 1. 21 @10 SHIPNUM $2. 22 @19 RECTYPE 1. 23 @20 RESTATUS 1. 24 @21 PLACEOCC $10. 25 @21 STATEOC 2. 26 @23 COUNTYOC 3. 27 @26 REGION 1. 28 @27 DIVSTOC 2. 29 @29 EXSTATOC 2. 30 @31 PLACERES $18. 31 @31 STATERS 2. 32 @33 COUNTYRS $3. 33 @36 CITYRS $3. 34 @39 POPSIZE $1. 35 @40 METRO $1. 36 @41 REGNRES 1. 37 @42 DIVSTRES 2. 38 @44 EXSTARES 2. 39 @46 SMSARES $3. 40 @55 MONTHDTH 2. 41 @57 DAYDTH 2. 42 @59 SEX 1. 43 @60 RACE 2. 44 @62 RACER3 1. 45 @63 RACER2 1. 46 @64 AGE 3. 47 @67 AGER52 2. 48 @69 AGER27 2. 49 @71 AGER12 2. 50 @73 AGER22 2. 51 @75 PLACDTH 1. 52 @77 MARSTAT 1. 53 @78 STATEBTH 2. 54 @84 AUTOPSY 1. 2 The SAS System 15:27 Thursday, November 7, 2002 55 @129 FIPSSMSA 4. 56 @141 ACCIDENT 1. 57 @142 UCOD $4. 58 @146 UCR282 5. 59 @151 UCR72 3. 60 @154 UCR61 3. 61 @157 UCR34 3. 62 @160 EANUM 2. 63 @162 ENTIT_1 1. 64 @163 ECOND_1 1. 65 @164 ENICO_1 4. 66 @168 ENIFL_1 1. 67 @169 ENTIT_2 1. 68 @170 ECOND_2 1. 69 @171 ENICO_2 4. 70 @175 ENIFL_2 1. 71 @176 ENTIT_3 1. 72 @177 ECOND_3 1. 73 @178 ENICO_3 4. 74 @182 ENIFL_3 1. 75 @183 ENTIT_4 1. 76 @184 ECOND_4 1. 77 @185 ENICO_4 4. 78 @189 ENIFL_4 1. 79 @190 ENTIT_5 1. 80 @191 ECOND_5 1. 81 @192 ENICO_5 4. 82 @196 ENIFL_5 1. 83 @197 ENTIT_6 1. 84 @198 ECOND_6 1. 85 @199 ENICO_6 4. 86 @203 ENIFL_6 1. 87 @204 ENTIT_7 1. 88 @205 ECOND_7 1. 89 @206 ENICO_7 4. 90 @210 ENIFL_7 1. 91 @211 ENTIT_8 1. 92 @212 ECOND_8 1. 93 @213 ENICO_8 4. 94 @217 ENIFL_8 1. 95 @218 ENTIT_9 1. 96 @219 ECOND_9 1. 97 @220 ENICO_9 4. 98 @224 ENIFL_9 1. 99 @225 ENTIT_10 1. 100 @226 ECOND_10 1. 101 @227 ENICO_10 4. 102 @231 ENIFL_10 1. 103 @232 ENTIT_11 1. 104 @233 ECOND_11 1. 105 @234 ENICO_11 4. 106 @238 ENIFL_11 1. 107 @239 ENTIT_12 1. 108 @240 ECOND_12 1. 109 @241 ENICO_12 4. 110 @245 ENIFL_12 1. 111 @246 ENTIT_13 1. 112 @247 ECOND_13 1. 113 @248 ENICO_13 4. 114 @252 ENIFL_13 1. 115 @253 ENTIT_14 1. 116 @254 ECOND_14 1. 117 @255 ENICO_14 4. 118 @259 ENIFL_14 1. 119 @260 ENTIT_15 1. 120 @261 ECOND_15 1. 121 @262 ENICO_15 4. 122 @266 ENIFL_15 1. 123 @267 ENTIT_16 1. 124 @268 ECOND_16 1. 125 @269 ENICO_16 4. 126 @273 ENIFL_16 1. 127 @274 ENTIT_17 1. 128 @275 ECOND_17 1. 129 @276 ENICO_17 4. 130 @280 ENIFL_17 1. 3 The SAS System 15:27 Thursday, November 7, 2002 131 @281 ENTIT_18 1. 132 @282 ECOND_18 1. 133 @283 ENICO_18 4. 134 @287 ENIFL_18 1. 135 @288 ENTIT_19 1. 136 @289 ECOND_19 1. 137 @290 ENICO_19 4. 138 @294 ENIFL_19 1. 139 @295 ENTIT_20 1. 140 @296 ECOND_20 1. 141 @297 ENICO_20 4. 142 @301 ENIFL_20 1. 143 @338 RANUM 2. 144 @341 RECOR_1 4. 145 @345 RNIFL_1 1. 146 @346 RECOR_2 4. 147 @350 RNIFL_2 1. 148 @351 RECOR_3 4. 149 @355 RNIFL_3 1. 150 @356 RECOR_4 4. 151 @360 RNIFL_4 1. 152 @361 RECOR_5 4. 153 @365 RNIFL_5 1. 154 @366 RECOR_6 4. 155 @370 RNIFL_6 1. 156 @371 RECOR_7 4. 157 @375 RNIFL_7 1. 158 @376 RECOR_8 4. 159 @380 RNIFL_8 1. 160 @381 RECOR_9 4. 161 @385 RNIFL_9 1. 162 @386 RECOR_10 4. 163 @390 RNIFL_10 1. 164 @391 RECOR_11 4. 165 @395 RNIFL_11 1. 166 @396 RECOR_12 4. 167 @400 RNIFL_12 1. 168 @401 RECOR_13 4. 169 @405 RNIFL_13 1. 170 @406 RECOR_14 4. 171 @410 RNIFL_14 1. 172 @411 RECOR_15 4. 173 @415 RNIFL_15 1. 174 @416 RECOR_16 4. 175 @420 RNIFL_16 1. 176 @421 RECOR_17 4. 177 @425 RNIFL_17 1. 178 @426 RECOR_18 4. 179 @430 RNIFL_18 1. 180 @431 RECOR_19 4. 181 @435 RNIFL_19 1. 182 @436 RECOR_20 4. 183 @440 RNIFL_20 1. 184 ; 185 LABEL 186 DATAYEAR='Last 2 Digits of Current Data Year' 187 REPAREA='Reporting Area' 188 SHIPNUM='Shipment Number' 189 RECTYPE='Record Type' 190 RESTATUS='Resident Status' 191 PLACEOCC='Place of Occurrence' 192 COUNTYOC='County of Occurrence' 193 STATEOC='State of Occurrence' 194 REGION='Region of Occurrence' 195 DIVSTOC='Division and State Subcode of Occurrence' 196 EXSTATOC='Expanded State of Occurrence Code' 197 PLACERES='Place of Residence' 198 COUNTYRS='County of Residence' 199 STATERS='State of Residence' 200 CITYRS='City of Residence' 201 POPSIZE='Population Size of City of Residence' 202 METRO='Metropolitan - Nonmetropolitan Count...' /*y of Residence*/ 203 REGNRES='Region of Residence' 204 DIVSTRES='Division and State Subcode of Residence' 205 SMSARES='NCHS SMSA of Residence' 206 EXSTARES='Expanded State of Residence Code' 4 The SAS System 15:27 Thursday, November 7, 2002 207 MONTHDTH='Month of Death' 208 DAYDTH='Day of Death' 209 SEX='Sex' 210 RACE='Detail Race' 211 RACER3='Race Recode 3' 212 RACER2='Race Recode 2' 213 AGE='Detail Age' 214 AGER52='Age Recode 52' 215 AGER12='Age Recode 12' 216 AGER22='Infant Age Recode 22' 217 AGER27='Infant Age Recode 27' 218 PLACDTH="Place of Death and Decedent's Status" 219 MARSTAT='Marital Status' 220 STATEBTH='State of Birth' 221 AUTOPSY='Autopsy Performed' 222 FIPSSMSA='FIPS SMSA of Residence' 223 ACCIDENT='Place of Accident for Causes E850-E929' 224 UCOD='ICD Code (9th Revision)' 225 UCR282='282 Cause Recode' 226 UCR72='72 Cause Recode' 227 UCR61='61 Infant Cause Recode' 228 UCR34='34 Cause Recode' 229 EANUM='Number of Entity-Axis Conditions' 230 ENTIT_1='Part/Line Number and Nature of Injur...' /*y and Condition*/ 231 ECOND_1='Sequence of Condition Within Part/Line' 232 ENICO_1='Nature of Injury Flag and Condition' 233 ENIFL_1='Nature of Injury Flag' 234 ENTIT_2='Part/Line Number and Nature of Injur...' /*y and Condition*/ 235 ECOND_2='Sequence of Condition Within Part/Line' 236 ENICO_2='Nature of Injury Flag and Condition' 237 ENIFL_2='Nature of Injury Flag' 238 ENTIT_3='Part/Line Number and Nature of Injur...' /*y and Condition*/ 239 ECOND_3='Sequence of Condition Within Part/Line' 240 ENICO_3='Nature of Injury Flag and Condition' 241 ENIFL_3='Nature of Injury Flag' 242 ENTIT_4='Part/Line Number and Nature of Injur...' /*y and Condition*/ 243 ECOND_4='Sequence of Condition Within Part/Line' 244 ENICO_4='Nature of Injury Flag and Condition' 245 ENIFL_4='Nature of Injury Flag' 246 ENTIT_5='Part/Line Number and Nature of Injur...' /*y and Condition*/ 247 ECOND_5='Sequence of Condition Within Part/Line' 248 ENICO_5='Nature of Injury Flag and Condition' 249 ENIFL_5='Nature of Injury Flag' 250 ENTIT_6='Part/Line Number and Nature of Injur...' /*y and Condition*/ 251 ECOND_6='Sequence of Condition Within Part/Line' 252 ENICO_6='Nature of Injury Flag and Condition' 253 ENIFL_6='Nature of Injury Flag' 254 ENTIT_7='Part/Line Number and Nature of Injur...' /*y and Condition*/ 255 ECOND_7='Sequence of Condition Within Part/Line' 256 ENICO_7='Nature of Injury Flag and Condition' 257 ENIFL_7='Nature of Injury Flag' 258 ENTIT_8='Part/Line Number and Nature of Injur...' /*y and Condition*/ 259 ECOND_8='Sequence of Condition Within Part/Line' 260 ENICO_8='Nature of Injury Flag and Condition' 261 ENIFL_8='Nature of Injury Flag' 262 ENTIT_9='Part/Line Number and Nature of Injur...' /*y and Condition*/ 263 ECOND_9='Sequence of Condition Within Part/Line' 264 ENICO_9='Nature of Injury Flag and Condition' 265 ENIFL_9='Nature of Injury Flag' 266 ENTIT_10='Part/Line Number and Nature of Injur...' /*y and Condition*/ 267 ECOND_10='Sequence of Condition Within Part/Line' 268 ENICO_10='Nature of Injury Flag and Condition' 269 ENIFL_10='Nature of Injury Flag' 270 ENTIT_11='Part/Line Number and Nature of Injur...' /*y and Condition*/ 271 ECOND_11='Sequence of Condition Within Part/Line' 272 ENICO_11='Nature of Injury Flag and Condition' 273 ENIFL_11='Nature of Injury Flag' 274 ENTIT_12='Part/Line Number and Nature of Injur...' /*y and Condition*/ 275 ECOND_12='Sequence of Condition Within Part/Line' 276 ENICO_12='Nature of Injury Flag and Condition' 277 ENIFL_12='Nature of Injury Flag' 278 ENTIT_13='Part/Line Number and Nature of Injur...' /*y and Condition*/ 279 ECOND_13='Sequence of Condition Within Part/Line' 280 ENICO_13='Nature of Injury Flag and Condition' 281 ENIFL_13='Nature of Injury Flag' 282 ENTIT_14='Part/Line Number and Nature of Injur...' /*y and Condition*/ 5 The SAS System 15:27 Thursday, November 7, 2002 283 ECOND_14='Sequence of Condition Within Part/Line' 284 ENICO_14='Nature of Injury Flag and Condition' 285 ENIFL_14='Nature of Injury Flag' 286 ENTIT_15='Part/Line Number and Nature of Injur...' /*y and Condition*/ 287 ECOND_15='Sequence of Condition Within Part/Line' 288 ENICO_15='Nature of Injury Flag and Condition' 289 ENIFL_15='Nature of Injury Flag' 290 ENTIT_16='Part/Line Number and Nature of Injur...' /*y and Condition*/ 291 ECOND_16='Sequence of Condition Within Part/Line' 292 ENICO_16='Nature of Injury Flag and Condition' 293 ENIFL_16='Nature of Injury Flag' 294 ENTIT_17='Part/Line Number and Nature of Injur...' /*y and Condition*/ 295 ECOND_17='Sequence of Condition Within Part/Line' 296 ENICO_17='Nature of Injury Flag and Condition' 297 ENIFL_17='Nature of Injury Flag' 298 ENTIT_18='Part/Line Number and Nature of Injur...' /*y and Condition*/ 299 ECOND_18='Sequence of Condition Within Part/Line' 300 ENICO_18='Nature of Injury Flag and Condition' 301 ENIFL_18='Nature of Injury Flag' 302 ENTIT_19='Part/Line Number and Nature of Injur...' /*y and Condition*/ 303 ECOND_19='Sequence of Condition Within Part/Line' 304 ENICO_19='Nature of Injury Flag and Condition' 305 ENIFL_19='Nature of Injury Flag' 306 ENTIT_20='Part/Line Number and Nature of Injur...' /*y and Condition*/ 307 ECOND_20='Sequence of Condition Within Part/Line' 308 ENICO_20='Nature of Injury Flag and Condition' 309 ENIFL_20='Nature of Injury Flag' 310 RANUM='Number of Record-Axis Conditions' 311 RECOR_1='Nature of Injury Flag and Condition' 312 RNIFL_1='Nature of Injury Flag' 313 RECOR_2='Nature of Injury Flag and Condition' 314 RNIFL_2='Nature of Injury Flag' 315 RECOR_3='Nature of Injury Flag and Condition' 316 RNIFL_3='Nature of Injury Flag' 317 RECOR_4='Nature of Injury Flag and Condition' 318 RNIFL_4='Nature of Injury Flag' 319 RECOR_5='Nature of Injury Flag and Condition' 320 RNIFL_5='Nature of Injury Flag' 321 RECOR_6='Nature of Injury Flag and Condition' 322 RNIFL_6='Nature of Injury Flag' 323 RECOR_7='Nature of Injury Flag and Condition' 324 RNIFL_7='Nature of Injury Flag' 325 RECOR_8='Nature of Injury Flag and Condition' 326 RNIFL_8='Nature of Injury Flag' 327 RECOR_9='Nature of Injury Flag and Condition' 328 RNIFL_9='Nature of Injury Flag' 329 RECOR_10='Nature of Injury Flag and Condition' 330 RNIFL_10='Nature of Injury Flag' 331 RECOR_11='Nature of Injury Flag and Condition' 332 RNIFL_11='Nature of Injury Flag' 333 RECOR_12='Nature of Injury Flag and Condition' 334 RNIFL_12='Nature of Injury Flag' 335 RECOR_13='Nature of Injury Flag and Condition' 336 RNIFL_13='Nature of Injury Flag' 337 RECOR_14='Nature of Injury Flag and Condition' 338 RNIFL_14='Nature of Injury Flag' 339 RECOR_15='Nature of Injury Flag and Condition' 340 RNIFL_15='Nature of Injury Flag' 341 RECOR_16='Nature of Injury Flag and Condition' 342 RNIFL_16='Nature of Injury Flag' 343 RECOR_17='Nature of Injury Flag and Condition' 344 RNIFL_17='Nature of Injury Flag' 345 RECOR_18='Nature of Injury Flag and Condition' 346 RNIFL_18='Nature of Injury Flag' 347 RECOR_19='Nature of Injury Flag and Condition' 348 RNIFL_19='Nature of Injury Flag' 349 RECOR_20='Nature of Injury Flag and Condition' 350 RNIFL_20='Nature of Injury Flag' 351 ; NOTE: The infile '/home/data/mortality/1985/data/mort85.dat' is: File Name=/home/data/mortality/1985/data/mort85.dat, Owner Name=jroth,Group Name=aging, Access Permission=rw-rw----, File Size (bytes)=923505076 6 The SAS System 15:27 Thursday, November 7, 2002 NOTE: 6 records were read from the infile '/home/data/mortality/1985/data/mort85.dat'. NOTE: The data set WORK.MORT85 has 6 observations and 165 variables. NOTE: DATA statement used: real time 0.950 seconds cpu time 0.381 seconds 352 proc print data=WORK.mort85 (obs=6); NOTE: The PROCEDURE PRINT printed page 1. NOTE: PROCEDURE PRINT used: real time 0.090 seconds cpu time 0.015 seconds 353 proc contents data=WORK.mort85; WARNING: No datasets qualify for FIRSTOBS and OBS processing. NOTE: The PROCEDURE CONTENTS printed pages 2-4. NOTE: PROCEDURE CONTENTS used: real time 0.130 seconds cpu time 0.025 seconds 354 proc means data=WORK.mort85; 355 NOTE: The PROCEDURE MEANS printed pages 5-7. NOTE: PROCEDURE MEANS used: real time 0.030 seconds cpu time 0.009 seconds NOTE: The SAS System used: real time 1.450 seconds cpu time 0.481 seconds NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414