/**************************************************************** * IMP2.SAS * * * * These SAS input statements will read in the 68 variables * * from IMP2.DAT (n=33,994 records) and create a permanent * * SAS dataset called IMP2.SSD. * ****************************************************************/ /**************************************************************** * Edit the line below to give destination directory for the * * permanent SAS dataset. * ****************************************************************/ LIBNAME NH3MI "C:\MyDIR"; /**************************************************************** * The command below assumes that the CD-ROM is drive E: * * Edit this line if your CD-ROM is not E: * * LRECL includes 2 positions for CRLF, assuming use of PC SAS * ****************************************************************/ FILENAME IMP2 "E:\IMP2\IMP2.DAT" LRECL=256; /**************************************************************** * SAS input statements * ****************************************************************/ DATA NH3MI.IMP2; INFILE IMP2; INPUT SEQN 1-5 DMPPIRMI 6-11 HFF1MI 12 HAB1MI 13-14 HAM5MI 15-16 HAM6MI 17-19 HAN6SRMI 20-21 HAQ1MI 22-23 HAR3RMI 24-25 HAT28MI 26-27 HAZAK1MI 28-30 HAZAK5MI 31-33 HAZBK1MI 34-36 HAZBK5MI 37-39 HAZCK1MI 40-42 HAZCK5MI 43-45 HYD1MI 46-47 HYF2MI 48-49 BDPFNDMI 50-54 BDPINDMI 55-59 BDPKMI 60-64 BDPTOAMI 65-69 BDPTODMI 70-74 BDPTRDMI 75-79 BDPWTDMI 80-84 BMPBUTMI 85-89 BMPHEAMI 90-93 BMPHTMI 94-98 BMPKNEMI 99-102 BMPRECMI 103-107 BMPSTHMI 108-112 BMPSB1MI 113-116 BMPSB2MI 117-120 BMPSP1MI 121-124 BMPSP2MI 125-128 BMPTR1MI 129-132 BMPTR2MI 133-136 BMPWSTMI 137-141 BMPWTMI 142-147 FEPMI 148-150 FRPMI 151-154 HDPMI 155-157 HGPMI 158-162 HTPMI 163-167 MCPSIMI 168-172 MHPMI 173-177 MVPSIMI 178-183 PBPMI 184-189 PHPFSTMI 190-194 PXPMI 195-199 RCPMI 200-203 RWPMI 204-208 SEPMI 209-211 TCPMI 212-214 TGPMI 215-218 TIPMI 219-221 FPPSUDMI 222-223 FPPSUMMI 224-225 FPPSURMI 226-227 PEP6G1MI 228-230 PEP6G2MI 231-233 PEP6G3MI 234-236 PEP6H1MI 237-239 PEP6H2MI 240-242 PEP6H3MI 243-245 PEP6I1MI 246-248 PEP6I2MI 249-251 PEP6I3MI 252-254 ; LABEL SEQN = "Sequence number" DMPPIRMI = "Poverty income ratio" HFF1MI = "Anyone living here smoke cigs in home" HAB1MI = "Self-rating of health status" HAM5MI = "How tall are you without shoes-inchs" HAM6MI = "How much do you weigh in pounds" HAN6SRMI = "Beer/wine/liquor (recode)" HAQ1MI = "Condition of SPS natural teeth" HAR3RMI = "Smoke cigarettes now (recode)" HAT28MI = "Compare own activity level to others" HAZAK1MI = "K1 for first BP measurement (home)" HAZAK5MI = "K5 for first BP measurement (home)" HAZBK1MI = "K1 for second BP measurement (home)" HAZBK5MI = "K5 for second BP measurement (home)" HAZCK1MI = "K1 for third BP measurement (home)" HAZCK5MI = "K5 for third BP measurement (home)" HYD1MI = "How is health of SP in general" HYF2MI = "Condition of natural teeth" BDPFNDMI = "Bone minrl density femur neck-gm/cm sq" BDPINDMI = "BMD of intertrochanter region-gm/cm sq" BDPKMI = "K value for scan" BDPTOAMI = "Bone area of total region - cm sq" BDPTODMI = "Bone minrl density total region-gm/cm sq" BDPTRDMI = "BMD of trochanter region - gm/cm sq" BDPWTDMI = "BMD of Ward's triangle region-gm/cm sq" BMPBUTMI = "Buttocks circumference (cm)" BMPHEAMI = "Head circumference (cm)" BMPHTMI = "Standing height (cm)" BMPKNEMI = "Knee height (cm)" BMPRECMI = "Recumbent length (cm)" BMPSTHMI = "Sitting height (cm)" BMPSB1MI = "First subscapular skinfold (mm)" BMPSB2MI = "Second subscapular skinfold (mm)" BMPSP1MI = "First suprailiac skinfold (mm)" BMPSP2MI = "Second suprailiac skinfold (mm)" BMPTR1MI = "First triceps skinfold (mm)" BMPTR2MI = "Second triceps skinfold (mm)" BMPWSTMI = "Waist circumference (cm)" BMPWTMI = "Weight (kg)" FEPMI = "Serum iron (ug/dl)" FRPMI = "Ferritin (ng/ml)" HDPMI = "Serum HDL cholesterol (mg/dL)" HGPMI = "Hemoglobin (g/dl)" HTPMI = "Hematocrit (%)" MCPSIMI = "Mean cell hemoglobin: SI" MHPMI = "Mean cell hemoglobin conc (g/dl)" MVPSIMI = "Mean cell volume: SI (fl)" PBPMI = "Lead (ug/dl)" PHPFSTMI = "Length of calculated fast (in hours)" PXPMI = "Serum transferrin saturation (%)" RCPMI = "Red blood cell count (x 10**6)" RWPMI = "Red cell distribution width (%)" SEPMI = "Selenium (ng/ml)" TCPMI = "Serum cholesterol (mg/dL)" TGPMI = "Serum triglycerides (mg/dL)" TIPMI = "Serum TIBC (ug/dl)" FPPSUDMI = "Summary drusen score" FPPSUMMI = "Summary age-related maculopathy score" FPPSURMI = "Summary diabetic retinopathy score" PEP6G1MI = "K1, systolic, for 1st BP (mmHg)" PEP6G2MI = "K4, diastolic, for 1st BP(mmHg)" PEP6G3MI = "K5, diastolic, for 1st BP (mmHg)" PEP6H1MI = "K1, systolic, for 2nd BP (mmHg)" PEP6H2MI = "K4, diastolic, for 2nd BP(mmHg)" PEP6H3MI = "K5, diastolic, for 2nd BP (mmHg)" PEP6I1MI = "K1, systolic, for 3rd BP (mmHg)" PEP6I2MI = "K4, diastolic, for 3rd BP(mmHg)" PEP6I3MI = "K5, diastolic, for 3rd BP (mmHg)" ; RUN;