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