1 The SAS System 16:03 Wednesday, November 7, 2007 NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) 9.1 (TS1M3) Licensed to HARVARD UNIV - SCHOOL OF PUBLIC HEALTH - T&R, Site 0001177014. NOTE: This session is executing on the SunOS 5.9 platform. NOTE: SAS 9.1.3 Service Pack 3 ----------------------------------------------------------------------- NBER NOTE: sas now defaults to sas9. sas8 or sas6 will invoke sas version 8 or 6 respectively. - 2005/10/21 ----------------------------------------------------------------------- You are running SAS 9. Some SAS 8 files will be automatically converted by the V9 engine; others are incompatible. Please see http://support.sas.com/rnd/migration/planning/platform/64bit.html PROC MIGRATE will preserve current SAS file attributes and is recommended for converting all your SAS libraries from any SAS 8 release to SAS 9. For details and examples, please see http://support.sas.com/rnd/migration/index.html This message is contained in the SAS news file, and is presented upon initialization. Edit the file "news" in the "misc/base" directory to display site-specific news and information in the program log. The command line option "-nonews" will prevent this display. NOTE: SAS initialization used: real time 0.37 seconds cpu time 0.13 seconds 1 *options obs=100; 2 libname library "."; NOTE: Libref LIBRARY was successfully assigned as follows: Engine: V9 Physical Name: /disk/nber10/SCCS/natality/2000/data 3 *OPTIONS COMPRESS='YES'; 4 ; 5 DATA library.natl2000; 6 LENGTH 7 DATAYEAR 8 CNTYNAT 9 CNTOCFIP 10 CNTYRFIP 11 PLACEFIP 12 MSARFIP 13 LMPYR 14 BIRYR 15 DBIRWT 16 8 17 DEFAULT=3; 18 19 filename piper pipe "zcat /home/data/natality/2000/data/natl00.dat.Z"; 20 *INFILE 'C:\temp\natl00.sas' LRECL=282 PAD END=EOF; 2 The SAS System 16:03 Wednesday, November 7, 2007 21 INFILE piper LRECL=284 recfm=f PAD END=EOF; 22 INPUT 23 /* Source file: nata00.DAT */ 24 @1 DATAYEAR 4. 25 @5 RECTYPE 1. 26 @6 RESTATUS 1. 27 @7 RECWT 1. 28 @8 PLDEL 1. 29 @9 PLDEL3 1. 30 @10 BIRATTND 1. 31 @11 RDSSCOCC 3. 32 @11 REGNOCC 1. 33 @12 DIVSTOCC 2. 34 @14 STNATEXP 2. 35 @16 CNTYNAT 5. 36 @16 STATENAT 2. 37 @21 CNTOCFIP 5. 38 @21 STOCCFIP 2. 39 @26 CNTOCPOP 1. 40 @27 RDSCRES 3. 41 @27 REGNRES 1. 42 @28 DIVSTRES 2. 43 @30 STRESEXP 2. 44 @32 CNTYRES $5. 45 @32 STATERES 2. 46 @37 CITYRES $5. 47 @42 CITRSPOP $1. 48 @43 METRORES $1. 49 @44 CNTYRFIP 5. 50 @44 STRESFIP 2. 51 @49 PLACEFIP 7. 52 @49 STREFIP1 2. 53 @56 CMSA 2. 54 @58 MSARFIP 4. 55 @62 CNTRSPOP $1. 56 @63 MAGERFLG $1. 57 @64 MAGEIMP $1. 58 @65 DMAGE 2. 59 @67 MAGE36 2. 60 @69 MAGE12 2. 61 @71 MAGE8 1. 62 @72 ORMOTH 1. 63 @73 ORRACEM 1. 64 @74 HISPR2 1. 65 @75 MRACEIMP $1. 66 @76 MRACE 2. 67 @78 MRACE4 1. 68 @79 DMEDUC 2. 69 @81 MEDUC6 1. 70 @82 DMARIMP $1. 71 @83 DMAR 1. 72 @84 MPLBIR 2. 73 @86 MPLBIRR 1. 74 @87 DMAGERPT 2. 75 @89 ADEQUACY 1. 76 @90 NLBNL 2. 77 @92 NLBND 2. 78 @94 NOTERM 2. 3 The SAS System 16:03 Wednesday, November 7, 2007 79 @96 DLIVORD 2. 80 @98 LIVORD9 1. 81 @99 DTOTORD 2. 82 @101 TOTORD9 1. 83 @102 MONPRE 2. 84 @104 MPRE6 1. 85 @105 MPRE5 1. 86 @106 NPREVIST 2. 87 @108 NPREV12 2. 88 @110 LMPDATE $8. 89 @110 LMPMON 2. 90 @112 LMPDAY 2. 91 @114 LMPYR 4. 92 @118 DISLLB $3. 93 @121 ISLLB10 $2. 94 @123 FAGERFLG $1. 95 @124 DFAGE 2. 96 @126 FAGE11 2. 97 @128 ORFATH 1. 98 @129 ORRACEF 1. 99 @130 FRACE 2. 100 @132 FRACE4 1. 101 @133 DFAGERPT 2. 102 @135 FRACEIMP $1. 103 @136 CDOBMIMP $1. 104 @137 BIRMON 2. 105 @139 BIRYR 4. 106 @143 WEEKDAY 1. 107 @144 GESTESTM $1. 108 @145 GESTIMP $1. 109 @146 GESTAT 2. 110 @148 GESTAT10 2. 111 @150 GESTAT3 1. 112 @151 CSEXIMP $1. 113 @152 CSEX 1. 114 @153 DBIRWT 4. 115 @157 BIRWT12 2. 116 @159 BIRWT4 1. 117 @160 FLGBWIMP $1. 118 @161 BWIMP $4. 119 @165 PLURIMP $1. 120 @166 DPLURAL 1. 121 @167 FMAPS 2. 122 @169 FMAPSR 1. 123 @170 CLINGEST 2. 124 @172 DELMETH $6. 125 @172 VAGINAL 1. 126 @173 VBAC 1. 127 @174 PRIMAC 1. 128 @175 REPEAC 1. 129 @176 FORCEP 1. 130 @177 VACUUM 1. 131 @178 DELMETH5 1. 132 @179 MEDRISK $17. 133 @179 ANEMIA 1. 134 @180 CARDIAC 1. 135 @181 LUNG 1. 136 @182 DIABETES 1. 4 The SAS System 16:03 Wednesday, November 7, 2007 137 @183 HERPES 1. 138 @184 HYDRA 1. 139 @185 HEMO 1. 140 @186 CHYPER 1. 141 @187 PHYPER 1. 142 @188 ECLAMP 1. 143 @189 INCERVIX 1. 144 @190 PRE4000 1. 145 @191 PRETERM 1. 146 @192 RENAL 1. 147 @193 RH 1. 148 @194 UTERINE 1. 149 @195 OTHERMR 1. 150 @196 TOBACRSK $4. 151 @196 TOBACCO 1. 152 @197 CIGAR 2. 153 @199 CIGAR6 1. 154 @200 ALCOHRSK $4. 155 @200 ALCOHOL 1. 156 @201 DRINK 2. 157 @203 DRINK5 1. 158 @204 WTGANRSK $3. 159 @204 WTGAIN 2. 160 @206 WTGAIN9 1. 161 @207 OBSTETRC $7. 162 @207 AMNIO 1. 163 @208 MONITOR 1. 164 @209 INDUCT 1. 165 @210 STIMULA 1. 166 @211 TOCOL 1. 167 @212 ULTRAS 1. 168 @213 OTHEROB 1. 169 @214 LABOR $16. 170 @214 FEBRILE 1. 171 @215 MECONIUM 1. 172 @216 RUPTURE 1. 173 @217 ABRUPTIO 1. 174 @218 PREPLACE 1. 175 @219 EXCEBLD 1. 176 @220 SEIZURE 1. 177 @221 PRECIP 1. 178 @222 PROLONG 1. 179 @223 DYSFUNC 1. 180 @224 BREECH 1. 181 @225 CEPHALO 1. 182 @226 CORD 1. 183 @227 ANESTHE 1. 184 @228 DISTRESS 1. 185 @229 OTHERLB 1. 186 @230 NEWBORN $10. 187 @230 NANEMIA 1. 188 @231 INJURY 1. 189 @232 ALCOSYN 1. 190 @233 HYALINE 1. 191 @234 MECONSYN 1. 192 @235 VENL30 1. 193 @236 VEN30M 1. 194 @237 NSEIZ 1. 5 The SAS System 16:03 Wednesday, November 7, 2007 195 @238 OTHERAB 1. 196 @239 CONGENIT $22. 197 @239 ANEN 1. 198 @240 SPINA 1. 199 @241 HYDRO 1. 200 @242 MICROCE 1. 201 @243 NERVOUS 1. 202 @244 HEART 1. 203 @245 CIRCUL 1. 204 @246 RECTAL 1. 205 @247 TRACHEO 1. 206 @248 OMPHALO 1. 207 @249 GASTRO 1. 208 @250 GENITAL 1. 209 @251 RENALAGE 1. 210 @252 UROGEN 1. 211 @253 CLEFTLP 1. 212 @254 ADACTYLY 1. 213 @255 CLUBFOOT 1. 214 @256 HERNIA 1. 215 @257 MUSCULO 1. 216 @258 DOWNS 1. 217 @259 CHROMO 1. 218 @260 OTHERCON 1. 219 @261 FLRES $16. 220 @261 FLGORIGM 1. 221 @262 FLGORIGF 1. 222 @263 FLGMEDUC 1. 223 @264 FLGGESTE 1. 224 @265 FLGFMAPS 1. 225 @266 FLGDELMT 1. 226 @267 FLGMEDRS 1. 227 @268 FLGTOBAC 1. 228 @269 FLGALCOH 1. 229 @270 FLGWTGN 1. 230 @271 FLGOBSTR 1. 231 @272 FLGLABOR 1. 232 @273 FLGNEWBR 1. 233 @274 FLGCONG 1. 234 @275 EDUCMSA 1. 235 @276 APIFLAG 1. 236 @277 MSARES $3. 237 @280 POPMSA $1. 238 @281 BLANK_1 $2. 239 ; 240 LABEL 241 DATAYEAR='Year of birth of child (Data Year)' 242 RECTYPE='Record type' 243 RESTATUS='Resident status' 244 RECWT='Record Weight' 245 PLDEL='Place or facility of birth' 246 PLDEL3='Place or Facility of Birth Recode' 247 BIRATTND='Attendant at birth' 248 RDSSCOCC='Region, Div, State Subcode of Occurrence' 249 REGNOCC='Region of Occurrence' 250 DIVSTOCC='Division and State of Occurrence' 251 STNATEXP='Expanded State of Occurrence' 252 CNTYNAT='County of Occurrence' 6 The SAS System 16:03 Wednesday, November 7, 2007 253 STATENAT='State of Occurrence' 254 CNTOCFIP='County of Occurrence (FIPS)' 255 STOCCFIP='State of Occurrence (FIPS)' 256 CNTOCPOP='Population size of County of Occurrence' 257 RDSCRES='Region, Div, State Subcode of Residence' 258 REGNRES='Region of Residence' 259 DIVSTRES='Division, State Subcode of Residence' 260 STRESEXP='Expanded State of Residence' 261 CNTYRES='County of Residence' 262 STATERES='State of Residence' 263 CITYRES='City of Residence' 264 CITRSPOP='Population Size of City of Residence' 265 METRORES='Metropolitan - NonMetropolitan Count...' /*y of Residence*/ 266 CNTYRFIP='County of Residence (FIPS)' 267 STRESFIP='State of Residence (FIPS)' 268 PLACEFIP='Place of Residence (FIPS)' 269 STREFIP1='State of Residence (FIPS)' 270 CMSA='CMSA of Residence (FIPS)' 271 MSARFIP='PMSA/MSA of Residence (FIPS)' 272 CNTRSPOP='Population Size of County of Residence' 273 MAGERFLG='Reported Age of Mother Used Flag' 274 MAGEIMP='Age of Mother Imputation Flag' 275 DMAGE='Age of Mother' 276 MAGE36='Age of Mother Recode 36' 277 MAGE12='Age of Mother Recode 12' 278 MAGE8='Age of Mother Recode 8' 279 ORMOTH='Hispanic Origin of Mother' 280 ORRACEM='Hispanic Origin and Race of Mother R...' /*ecode*/ 281 HISPR2='Hispanic Origin of Mother Recode2' 282 MRACEIMP='Race of Mother Imputation Flag' 283 MRACE='Race of Mother' 284 MRACE4='Race of Mother Recode' 285 DMEDUC='Education of Mother Detail' 286 MEDUC6='Education of Mother Recode' 287 DMARIMP='Marital Status of Mother Imputation Flag' 288 DMAR='Marital Status of Mother' 289 MPLBIR='Place of Birth of Mother' 290 MPLBIRR='Place of Birth of Mother Recode' 291 DMAGERPT='Reported Age of Mother' 292 ADEQUACY='Adequacy of Care Recode (Kessner Index)' 293 NLBNL='Number of Live Births, now living' 294 NLBND='Number of Live Births, now dead' 295 NOTERM='Number of Other Terminations' 296 DLIVORD='Detail Live Birth Order' 297 LIVORD9='Live Birth Order Recode' 298 DTOTORD='Detail Total Birth Order' 299 TOTORD9='Total Birth Order Recode' 300 MONPRE='Detail Month of Pregnancy Prenatal C...' /*are Began*/ 301 MPRE6='Month Prenatal Care Began Recode 6' 302 MPRE5='Month Prenatal Care Began Recode 5' 303 NPREVIST='Total Number of Prenatal Visits' 304 NPREV12='Number of Prenatal Visits Recode' 305 LMPDATE='Date Last Normal Menses Began' 306 LMPMON='Month Last Normal Menses Began' 307 LMPDAY='Day Last Normal Menses Began' 308 LMPYR='Year Last Normal Menses Began' 309 DISLLB='Interval Since Last Live Birth' 310 ISLLB10='Interval Since Last Live Birth Recode' 7 The SAS System 16:03 Wednesday, November 7, 2007 311 FAGERFLG='Reported Age of Father Used Flag' 312 DFAGE='Age of Father' 313 FAGE11='Age of Father Recode' 314 ORFATH='Hispanic Origin of Father' 315 ORRACEF='Hispanic Origin and Race of Father R...' /*ecode*/ 316 FRACE='Race of Father' 317 FRACE4='Race of Father Recode' 318 DFAGERPT='Reported Age of Father' 319 FRACEIMP='Race of Father Imputation Flag' 320 CDOBMIMP='Month of Birth of Child Imputation Flag' 321 BIRMON='Month of Birth' 322 BIRYR='Year of Birth' 323 WEEKDAY='Day of Week Child Born' 324 GESTESTM='Clinical Estimate of Gestation Used Flag' 325 GESTIMP='Gestation Imputation Flag' 326 GESTAT='Gestation - Detail in Weeks' 327 GESTAT10='Gestation Recode 10' 328 GESTAT3='Gestation Recode 3' 329 CSEXIMP='Sex Imputation Flag' 330 CSEX='Sex' 331 DBIRWT='Birth Weight - Detail In Grams' 332 BIRWT12='Birth Weight Recode 12' 333 BIRWT4='Birth Weight Recode 4' 334 FLGBWIMP='Imputed Birthweight Flag' 335 BWIMP='Imputed Birthweight' 336 PLURIMP='Plurality Imputation Flag' 337 DPLURAL='Plurality' 338 FMAPS='Five Minute Apgar Score' 339 FMAPSR='Five Minute Apgar Score Recode' 340 CLINGEST='Clinical Estimate of Gestation' 341 DELMETH='Method of Delivery' 342 VAGINAL='Vaginal' 343 VBAC='Vaginal Birth After Previous C-Section' 344 PRIMAC='Primary C -Section' 345 REPEAC='Repeat C - Section' 346 FORCEP='Forceps' 347 VACUUM='Vacuum' 348 DELMETH5='Method of Delivery Recode' 349 MEDRISK='Medical Risk Factors' 350 ANEMIA='Anemia (HCT.<30/HGB.<10)' 351 CARDIAC='Cardiac Disease' 352 LUNG='Acute or Chronic Lung Disease' 353 DIABETES='Diabetes' 354 HERPES='Genital Herpes' 355 HYDRA='Hydramnios/Oligohydramnios' 356 HEMO='Hemoglobinopathy' 357 CHYPER='Hypertension, Chronic' 358 PHYPER='Hypertension, Pregnancy-Associated' 359 ECLAMP='Eclampsia' 360 INCERVIX='Incompetent Cervix' 361 PRE4000='Previous Infant 4000+ Grams' 362 PRETERM='Prev Preterm or Small-for-Gestationa...' /*l-Age Infant*/ 363 RENAL='Renal Disease' 364 RH='RH Sensitization' 365 UTERINE='Uterine Bleeding' 366 OTHERMR='Other Medical Risk Factors' 367 TOBACRSK='Tobacco Risks' 368 TOBACCO='Tobacco Use During Pregnancy' 8 The SAS System 16:03 Wednesday, November 7, 2007 369 CIGAR='Average Number of Cigarettes Per Day' 370 CIGAR6='Average Number of Cigarettes Per Day...' /* Recode*/ 371 ALCOHRSK='Alcohol' 372 ALCOHOL='Alcohol Use During Pregnancy' 373 DRINK='Average Number of Drinks Per Week' 374 DRINK5='Average Number of Drinks Per Week Recode' 375 WTGANRSK='Weight Gain During Pregnancy' 376 WTGAIN='Weight Gain' 377 WTGAIN9='Weight Gain Recode' 378 OBSTETRC='Obstetric Procedures' 379 AMNIO='Amniocentesis' 380 MONITOR='Electronic Fetal Monitoring' 381 INDUCT='Induction of Labor' 382 STIMULA='Stimulation of Labor' 383 TOCOL='Tocolysis' 384 ULTRAS='Ultrasound' 385 OTHEROB='Other Obstetric Procedures' 386 LABOR='Complications of Labor and/or Delivery' 387 FEBRILE='Febrile (>100 degrees F. or 38 degre...' /*es C.)*/ 388 MECONIUM='Meconium, Moderate/heavy' 389 RUPTURE='Premature Rupture of Membrane (>12 h...' /*ours)*/ 390 ABRUPTIO='Abruptio Placenta' 391 PREPLACE='Placenta Previa' 392 EXCEBLD='Other Excessive Bleeding' 393 SEIZURE='Seizures during Labor' 394 PRECIP='Precipitous Labor (<3 hours)' 395 PROLONG='Prolonged Labor (>20 hours)' 396 DYSFUNC='Dysfunctional Labor' 397 BREECH='Breech/Malpresentation' 398 CEPHALO='Cephalopelvic Disporportion' 399 CORD='Cord Prolapse' 400 ANESTHE='Anesthetic Complications' 401 DISTRESS='Fetal Distress' 402 OTHERLB='Other Complication of Labor and/or D...' /*elivery*/ 403 NEWBORN='Abnormal Conditions of the Newborn' 404 NANEMIA='Anemia (hct.<39/hgb.<13)' 405 INJURY='Birth Injury' 406 ALCOSYN='Fetal Alcohol Syndrome' 407 HYALINE='Hyaline Membrane Disease' 408 MECONSYN='Meconium Aspiration Syndrome' 409 VENL30='Assisted Ventilation, less than 30 m...' /*inutes*/ 410 VEN30M='Assisted Ventilation, 30 minutes or more' 411 NSEIZ='Seizures' 412 OTHERAB='Other Abnormal Conditions of the Newborn' 413 CONGENIT='Congenital Anomalies' 414 ANEN='Anencephalus' 415 SPINA='Spina bifida/Meningocele' 416 HYDRO='Hydrocephalus' 417 MICROCE='Microcephalus' 418 NERVOUS='Other central nervous system anomalies' 419 HEART='Heart malformations' 420 CIRCUL='Other circulatory/respiratory anomalies' 421 RECTAL='Rectal atresia/stenosis' 422 TRACHEO='Tracheo - esophageal fistula/Esophag...' /*eal atresia*/ 423 OMPHALO='Omphalocele/Gastroschisis' 424 GASTRO='Other gastrointestinal anomalies' 425 GENITAL='Malformed genitalia' 426 RENALAGE='Renal agenesis' 9 The SAS System 16:03 Wednesday, November 7, 2007 427 UROGEN='Other urogenital anomalies' 428 CLEFTLP='Cleft lip/palage' 429 ADACTYLY='Polydactyly/Syndactyly/Adactyly' 430 CLUBFOOT='Club foot' 431 HERNIA='Diaphragmatic hernia' 432 MUSCULO='Other musculoskeletal/integumental a...' /*nomalies*/ 433 DOWNS="Down's syndrome" 434 CHROMO='Other chromosomal anomalies' 435 OTHERCON='Other Congenital Anomalies' 436 FLRES='Reporting Flags for Place of Residence' 437 FLGORIGM='Origin of Mother' 438 FLGORIGF='Origin of Father' 439 FLGMEDUC='Education of Mother' 440 FLGGESTE='Clinical Estimate of Gestation' 441 FLGFMAPS='5 - minute Apgar Score' 442 FLGDELMT='Method of Delivery' 443 FLGMEDRS='Medical Risk Factors' 444 FLGTOBAC='Tobacco Use' 445 FLGALCOH='Alcohol Use' 446 FLGWTGN='Weight Gain' 447 FLGOBSTR='Obstetric Procedures' 448 FLGLABOR='Complications of Labor and/or Delivery' 449 FLGNEWBR='Abnormal Conditions of Newborn' 450 FLGCONG='Congenital Anomalies' 451 EDUCMSA='Education of Mother (Based on MSA)' 452 APIFLAG='Race Codes 18-68 Reported(Beginning ...' /*w/ 1992 data)*/ 453 MSARES='PSMA/MSA of Residence (NCHS)' 454 POPMSA='PMSA/MSA Population Size' 455 BLANK_1='Undefined Field' 456 ; NOTE: The infile PIPER is: Pipe command="zcat /home/data/natality/2000/data/natl00.dat.Z" NOTE: 4063823 records were read from the infile PIPER. NOTE: The data set LIBRARY.NATL2000 has 4063823 observations and 215 variables. NOTE: DATA statement used (Total process time): real time 7:24.02 cpu time 5:37.41 457 proc means data=library.natl2000; NOTE: There were 4063823 observations read from the data set LIBRARY.NATL2000. NOTE: The PROCEDURE MEANS printed pages 1-4. NOTE: PROCEDURE MEANS used (Total process time): real time 6:20.07 cpu time 6:12.17 458 PROC CONTENTS DATA=library.natl2000; NOTE: The PROCEDURE CONTENTS printed pages 5-9. NOTE: PROCEDURE CONTENTS used (Total process time): real time 0.32 seconds cpu time 0.10 seconds NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 10 The SAS System 16:03 Wednesday, November 7, 2007 NOTE: The SAS System used: real time 13:44.93 cpu time 11:49.84