libname spssdata 'c:\spssdata' ; libname statadat dbstata 'c:\statadata' ver=64; options ps=58 ls=70 nocenter pageno=1 compress=yes obs=max; * each card for each dataset is read into a separate SAS dataset, then all are merged by the nindb number; *The nindb number is each person's unique identifying number; *All data is labeled by field and card number. For example, field 27 on card 1202 would be f27_1202. *Some fields have multiple parts. In these cases, each part is consecutively labeled a, b, and so on after the field number, in the order given in the codebook (ex. f27a1202); *All dates, or time amounts, including days, weeks, months, and years, are divided into their separate time elements within a field. For example, if field 6 gives month, day, and year, the written input is f06a for month, f06b for day, and f06c for year; *Ped forms consist of 14 datasets: *Input ped01, cards 1, 2, and 3; data spssdata.ped01_1; *Card 1 of 3 ped01 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped01' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1401 1-4 rev1401 5 id1401 6-14 /*same as NINDB number*/ f05a1401 15-16 /*Month*/ f05b1401 17-18 /*Day*/ f05c1401 19-20 /*Year*/ f06_1401 21 f07_1401 22-25 f08_1401 26-29 /*May be blank if delivered elsewhere*/ f09a1401 30 /*Field 9 may be blank if delivered elsewhere*/ f09b1401 31-32 f10a1401 33 /*Field 10 may be blank if delivered elsewhere*/ f10b1401 34-35 f11a1401 36 /*Field 11 may be blank if devivered elsewhere*/ f11b1401 37-38 f12a1401 39 /*Field 12 is blank if revision 0 or 1*/ f12b1401 40 f12c1401 41 f12d1401 42 f13_1401 43-44 /*Blank if delivered elsewhere*/ f14_1401 45 /*Blank if delivered elsewhere*/ f15_1401 46 /*Revision 3 only, blank otherwise*/ f16_1401 47 /*Revision 2 and 3 only, blank otherwise*/ f17_1401 48 /*Blank if delivered elsewhere*/ f18_1401 49 /*Blank if delivered elsewhere*/ f19_1401 50 /*Revision 3 only, blank otherwise*/ f20_1401 51-52 /*Blank if devlivered elsewhere*/ f21_1401 53-54 /*Revision 2 and 3 only, blank otherwise*/ f22_1401 55-56 /*Revision 2 and 3 only, blank otherwise*/ f23_1401 57-58 /*Revision 2 and 3 only, blank otherwise*/ f24_1401 59 /*May be blank*/ f25_1401 60 /*Blank if delivered elsewhere*/ f26_1401 61 /*Blank if delivered elsewhere*/ f27_1401 62 /*Revision 2 only, blank otherwise*/ f28_1401 63 /*Revision 0 and 1 only, blank otherwise*/ f29_1401 64 /*Blank if revision 3*/ f30_1401 65 /*Blank if revision 3*/ f31_1401 66-67 /*Revision 0 and 1 only, blank otherwise*/ f32_1401 68 /*Blank if yes or delivered elsewhere*/ f33_1401 78 /*1 if delivered elsewhere, otherwise blank*/; run; data spssdata.ped01_2; *Card 2 of 3 ped01 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped01' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardforms; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2401 1-4 rev2401 5 id2401 6-14 /*same as NINDB number*/ f02a2401 15-16 /*Month*/ f02b2401 17-18 /*Day*/ f02c2401 19-20 /*Year*/ f02d2401 21 f02e2401 22-25 f02f2401 26-29 /*May be blank if delivered elsewhere*/ f03a2401 30 f03b2401 31 f03c2401 32 f03d2401 33 f03e2401 34 f03f2401 35-36 f04a2401 37 f04b2401 38 f04c2401 39 f04d2401 40 f04e2401 41 f04f2401 42-43 f05a2401 44 f05b2401 45 f05c2401 46 f05d2401 47 f05e2401 48 f05f2401 49-50 f06a2401 51 f06b2401 52 f06c2401 53 f06d2401 54 f06e2401 55 f06f2401 56-57 f07a2401 58 f07b2401 59 f07c2401 60 f07d2401 61 f07e2401 62 f07f2401 63-64 f08a2401 65 f08b2401 66 f08c2401 67 f08d2401 68 f08e2401 69 f08f2401 70-71; run; data spssdata.ped01_3; *Card 3 of 3 ped01 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped01' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardforms; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3401 1-4 rev3401 5 id3401 6-14 /*same as NINDB number*/ f02a3401 15-16 /*Month*/ f02b3401 17-18 /*Day*/ f02c3401 19-20 /*Year*/ f02d3401 21 f02e3401 22-25 f02f3401 26-29 /*May be blank if delivered elsewhere*/ f03_3401 30 f04_3401 31 /*Blank if revision 0 or 1*/ f05_3401 32 f06_3401 33-34 f07_3401 35-36 f08_3401 37 f09_3401 38-39 f10_3401 40-41 f11_3401 42 f12_3401 43-44 f13_3401 45-46 f14_3401 47 f15_3401 48-49 f16_3401 50-51; run; *Input ped02, cards 1, 2, 3, 4, and 5; data spssdata.ped02_1; *Card 1 of 5 ped02 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped02' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1402 1-4 rev1402 5 id1402 6-14 /*same as NINDB number*/ f05a1402 15-16 /*Month*/ f05b1402 17-18 /*Day*/ f05c1402 19-20 /*Year*/ f06a1402 21-22 f06b1402 23-24 f06c1402 25-27 f06d1402 28-30 f06e1402 31-33 f07_1402 34-35 f08_1402 36-37 f09_1402 38-39 f10_1402 40-41 f11_1402 42-43 f12a1402 44-45 f12b1402 46-47 f12c1402 48-49 f12d1402 50-51 f13a1402 52-53 /*Revision 1 only, otherwise blank*/ f13b1402 54 /*Revision 1 only, otherwise blank*/ f14_1402 55-56 f15a1402 57 f15b1402 58 f15c1402 59 f15d1402 60 f15e1402 61 f15f1402 62 f15g1402 63 f16_1402 64 /*Revision 1 only, otherwise blank*/ f17_1402 65-66 /*Revision 1 only, otherwise blank*/ f18_1402 67-68 f19_1402 69-70 f20_1402 71-72 /*Revision 1 only, otherwise blank*/ f21_1402 73 /*Revision 1 only, otherwise blank*/ f22a1402 74 /*Field 22 is revision 1 only, otherwise blank*/ f22b1402 75 f22c1402 76 f22d1402 77; run; data spssdata.ped02_2; *Card 2 of 5 ped02 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped02' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2402 1-4 rev2402 5 id2402 6-14 /*same as NINDB number*/ f02a2402 15-16 /*Month*/ f02b2402 17-18 /*Day*/ f02c2402 19-20 /*Year*/ f02d2402 21-22 f02e2402 23-24 f02f2402 25-27 f02g2402 28-30 f02h2402 31-33 f02i2402 34-35 f03a2402 36 /*field 3 is revision 1 only, otherwise blank*/ f03b2402 37-38 f03c2402 39-40 f04a2402 41 /*field 4 is revision 1 only, otherwise blank*/ f04b2402 42-43 f04c2402 44-45 f05a2402 46 /*field 5 is revision 1 only, otherwise blank*/ f05b2402 47 f06_2402 48 f07_2402 49 f08_2402 50 f09_2402 51 f10_2402 52 /*revision 1 only, otherwise blank*/ f11_2402 53-54 /*revision 1 only, otherwise blank*/ f12_2402 55-56 /*revision 1 only, otherwise blank*/ f13_2402 57-58 /*revision 1 only, otherwise blank*/ f14_2402 59-60 /*revision 1 only, otherwise blank*/ f15_2402 61-62 /*revision 1 only, otherwise blank*/ f16_2402 63-64 /*revision 1 only, otherwise blank*/ f17_2402 65-66 /*revision 1 only, otherwise blank*/ f18_2402 67-68 /*revision 1 only, otherwise blank*/ f19a2402 69 f19b2402 70-72 f20a2402 73 f20b2402 74-76 f21_2402 77 f22_2402 78 f23_2402 79 f23_2402 80; run; data spssdata.ped02_3; *Card 3 of 5 ped02 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped02' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3402 1-4 rev3402 5 id3402 6-14 /*same as NINDB number*/ f02a3402 15-16 /*Month*/ f02b3402 17-18 /*Day*/ f02c3402 19-20 /*Year*/ f02d3402 21-22 f02e3402 23-24 f02f3402 25-27 f02g3402 28-30 f02h3402 31-33 f02i3402 34-35 f03_3402 36 /*revision 1 only, otherwise blank*/ f04_3402 37 f05_3402 38 f06_3402 39 f07_3402 40 /*revision 1 only, otherwise blank*/ f08_3402 41-42 f09_3402 43-44 f10_3402 45-46 f11a3402 47 f11b3402 48 f11c3402 49 f11d3402 50 f12a3402 51 f12b3402 52 f12c3402 53 f12d3402 54 f13_3402 55-56 f14_3402 57-58 /*revision 1 only, otherwise blank*/ f15_3402 59-60 f16_3402 61-62 f17_3402 63-64 /*revision 1 only, otherwise blank*/ f18_3402 65-66 f19_3402 67-68 /*revision 1 only, otherwise blank*/ f20_3402 69-70 f21_3402 71-72 f22_3402 73-74 /*revision 1 only, otherwise blank*/; run; data spssdata.ped02_4; *Card 4 of 5 ped02 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped02' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=4; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card4402 1-4 rev4402 5 id4402 6-14 /*same as NINDB number*/ f02a4402 15-16 /*Month*/ /*Field 2a-c is revision 1 only, otherwise blank*/ f02b4402 17-18 /*Day*/ f02c4402 19-20 /*Year*/ f02d4402 21-22 f02e4402 23-24 f02f4402 25-27 f02g4402 28-30 f02h4402 31-33 f02i4402 34-35 f03a4402 36 f03b4402 37 f03c4402 38 f03d4402 39 f03e4402 40 f03f4402 41 f03g4402 42 f03h4402 43 f04a4402 44 f04b4402 45 f04c4402 46 f04d4402 47 f04e4402 48 f04f4402 49 f04g4402 50 f04h4402 51 f05a4402 52 f05b4402 53 f05c4402 54 f05d4402 55 f06a4402 56 f06b4402 57 f06c4402 58 f06d4402 59 f07a4402 60 f07b4402 61 f07c4402 62 f07d4402 63 f08_4402 64 f09a4402 65-66 f09b4402 67 f09c4402 68-69 f09d4402 70-71; run; *Note: this card exists for revision 0 only; data spssdata.ped02_5; *Card 5 of 5 ped02 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped02' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=5; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card5402 1-4 rev5402 5 id5402 6-14 /*same as NINDB number*/ f02a5402 15-16 /*Month*/ f02b5402 17-18 /*Day*/ f02c5402 19-20 /*Year*/ f02d5402 21-22 f02e5402 23-24 f02f5402 25-27 f02g5402 28-30 f02h5402 31-33 f03_5402 34-35 f04_5402 36-37 f05_5402 38-39 f06_5402 40-41 f07_5402 42-43 f08_5402 44-45 f09_5402 46-47 f10_5402 48-49 f11_5402 50-52 f12a5402 53 f12b5402 54 f12c5402 55 f12d5402 56 f12e5402 57 f13_5402 58-59 f14_5402 60-61 f15a5402 62 f15b5402 63 f15c5402 64 f15d5402 65 f16a5402 66 f16b5402 67 f16c5402 68 f16d5402 69 f17a5402 70 f17b5402 71 f17c5402 72 f17d5402 73 f18a5402 74 f18b5402 75 f18c5402 76 f18d5402 77 f19_5402 78 f20_5402 79 f21_5402 80; run; *Input ped03, cards 1 and 2; data spssdata.ped03_1; *Card 1 of 2 ped03 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped03' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1403 1-4 rev1403 5 id1403 6-14 /*same as NINDB number*/ f05a1403 15-16 /*Month*/ f05b1403 17-18 /*Day*/ f05c1403 19-20 /*Year*/ f06_1403 21-22 f07_1403 23 f08_1403 24 f09_1403 25 f10_1403 26 f11_1403 27 f12_1403 28-29 f13_1403 30 /*revision 1 only, otherwise blank*/ f14a1403 31-32 /*Pounds*/ f14b1403 33-34 /*Ounces*/ f15a1403 35-36 /*Pounds*/ f15b1403 37-38 /*Ounces*/ f16_1403 39 f17_1403 40 f18a1403 41-42 f18b1403 43 f19_1403 44 f20a1403 45-47 f20b1403 48 f21a1403 49 /*All of field 21 is revision 1 only, otherwise blank*/ f21b1403 50 f21c1403 51 f21d1403 52 f21e1403 53 f22a1403 54 f22b1403 55 f23a1403 56 /*All of field 23 is revision 1 only, otherwise blank*/ f23b1403 57 f24a1403 58 f24b1403 59 f24c1403 60 f24d1403 61 f25a1403 62 f25b1403 63 f26_1403 64 f27_1403 65 f28_1403 66 f29_1403 67 /*revision 1 only, otherwise blank*/ f30_1403 68 /*revision 1 only, otherwise blank*/ f31_1403 69 f32_1403 70 f33_1403 71 f34_1403 72 f35_1403 73 f36_1403 74; run; data spssdata.ped03_2; *Card 2 of 2 ped03 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped03' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2403 1-4 rev2403 5 id2403 6-14 /*same as NINDB number*/ f02a2403 15-16 /*Month*/ f02b2403 17-18 /*Day*/ f02c2403 19-20 /*Year*/ f03_2403 21-24 f04a2403 25-28 f04b2403 29-32 f04c2403 33-36 f04d2403 37-40 f04e2403 41-44 f04f2403 45-48 f04g2403 49-52 f04h2403 53-56 f04i2403 57-60 f04j2403 61-64 f04k2403 65-68 f04l2403 69-72 f04m2403 73-76 f04n2403 77-80; run; *Input ped05, card 0; data spssdata.ped05_0; *Card 1 of 1 ped05 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped05' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=0; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card0405 1-4 rev0405 5 id0405 6-14 /*same as NINDB number*/ f05a0405 15-16 /*Month*/ f05b0405 17-18 /*Day*/ f05c0405 19-20 /*Year*/ f06_0405 21 f07a0405 22 f07b0405 23 f08_0405 24 f09_0405 25 f10_0405 26 /*Revision 0 only, otherwise blank*/ f11a0405 27-29 f11b0405 30-31 f11c0405 32-33 f12a0405 34-36 f12b0405 37-38 f12c0405 39-40 f13a0405 41-43 f13b0405 44-45 f13c0405 46-47 f14_0405 48 f15a0405 49-51 f15b0405 52-53 f16a0405 54-56 f16b0405 57-58 f17a0405 59-61 f17b0405 62-63 f18a0405 64-66 f18b0405 67-68 f19_0405 69 f20_0405 70; run; *Input ped06, cards 1,2,3, and 4; data spssdata.ped06_1; *Card 1 of 4 ped06 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped06' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1406 1-4 rev1406 5 id1406 6-14 /*same as NINDB number*/ f05a1406 15-16 /*Month*/ f05b1406 17-18 /*Day*/ f05c1406 19-20 /*Year*/ f06_1406 21-23 f07_1406 24-25 f08_1406 26 f09a1406 27 f09b1406 28 f10_1406 29 f11_1406 30 f12_1406 31 f13_1406 32 /*Revision 0 and 3 only*/ f14_1406 33 f15_1406 34 /*Revision 3 only*/ f16_1406 35 f17_1406 36 f18_1406 37 f19_1406 38 f20_1406 39 /*Revision 1 and 3 only*/ f21_1406 40 f22_1406 41 f23_1406 42 f24_1406 43 f25_1406 44 f26_1406 45 f27_1406 46 f28_1406 47 f29_1406 48 /*Revision 1 and 3 onlly*/ f30_1406 49 f31_1406 50 f32_1406 51 f33_1406 52 f34_1406 53 f35_1406 54 f36_1406 55 f37_1406 56 /*Revision 0 only, otherwise blank*/ f38_1406 57 /*Revision 0 only, otherwise blank*/ f39_1406 58 /*Revision 0 only, otherwise blank*/ f40a1406 59 /*Right rotation, During rotation*/ /*All of field 40 is Revision 1 only, otherwise blank*/ f40b1406 60 f40c1406 61 /*After rotation*/ f40d1406 62 f40e1406 63 /*Left rotation, During rotation*/ f40f1406 64 f40g1406 65 /*After rotation*/ f40h1406 66 f41a1406 67 /*Rotation to child's right*/ /*All of field 41 is revision 0 only*/ f41b1406 68 f41c1406 69 /*Rotation to child's left*/ f41d1406 70; run; data spssdata.ped06_2; *Card 2 of 4 ped06 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped06' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2406 1-4 rev2406 5 id2406 6-14 /*same as NINDB number*/ f02a2406 15-16 /*Month*/ f02b2406 17-18 /*Day*/ f02c2406 19-20 /*Year*/ f02d2406 21-23 f02e2406 24-25 f03_2406 26 f04_2406 27 f05_2406 28 /*Revision 1 and 3 only*/ f06_2406 29 /*Revision 3 only*/ f07_2406 30 /*Revision 3 only*/ f08a2406 31 /*All of field 8 is revision 3 only*/ f08b2406 32 f09a2406 33 f09b2406 34 f10a2406 35 f10b2406 36 f11a2406 37 f11b2406 38 f12a2406 39 f12b2406 40 f13_2406 41 f14a2406 42 f14b2406 43 f15_2406 44 f16_2406 45 f17_2406 46 f18_2406 47 f19_2406 48 f20_2406 49 f21_2406 50 f22_2406 51 f23_2406 52 /*Revision 3 only*/ f24_2406 53 /*Revision 1 and 3 only*/ f25_2406 54 /*Revision 1 and 3 only*/ f26_2406 55 f27_2406 56 /*Revision 0 only*/ f28_2406 57 /*Revision 0 and 1 only*/ f29_2406 58 /*Revision 0 and 1 only*/ f30_2406 59 /*Revision 0 and 1 only*/ f31_2406 60 /*Revision 0 and 1 only*/ f32a2406 61 /*Revision 0 and 1 only*/ f32b2406 62 /*Revision 0 and 1 only*/ f33a2406 63 /*Revision 1 only*/ f33b2406 64 /*Revisioin 1 only*/ f34a2406 65 /*Revision 1 only*/ f34b2406 66 /*Revision 1 only*/ f35a2406 67 /*Revision 0 and 1 only*/ f35b2406 68 /*Revision 0 and 1 only*/ f36a2406 69 /*Revision 0 and 1 only*/ f36b2406 70 /*Revision 0 and 1 only*/ f37a2406 71 /*Revision 0 and 1 only*/ f37b2406 72 /*Revision 0 and 1 only*/ f38a2406 73 /*Revision 0 and 1 only*/ f38b2406 74 /*Revision 0 and 1 only*/ f39a2406 75 /*Revision 0 only*/ f39b2406 76 /*Revision 0 only*/; run; data spssdata.ped06_3; *Card 3 of 4 ped06 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped06' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3406 1-4 rev3406 5 id3406 6-14 /*same as NINDB number*/ f05a3406 15-16 /*Month*/ f05b3406 17-18 /*Day*/ f05c3406 19-20 /*Year*/ f06_3406 21-23 f07_3406 24-25 f08_3406 26 f09a3406 27 f09b3406 28 f10_3406 29 f11_3406 30 f12_3406 31 f13_3406 32 /*Revision 0 and 3 only*/ f14_3406 33 f15_3406 34 /*Revision 3 only*/ f16_3406 35 f17_3406 36 f18_3406 37 f19_3406 38 f20_3406 39 /*Revision 1 and 3 only*/ f21_3406 40 f22_3406 41 f23_3406 42 f24_3406 43 f25_3406 44 f26_3406 45 f27_3406 46 f28_3406 47 f29_3406 48 /*Revision 1 and 3 only*/ f30_3406 49 f31_3406 50 f32_3406 51 f33_3406 52 f34_3406 53 f35_3406 54 f36_3406 55 f37_3406 56 /*Revision 0 only, otherwise blank*/ f38_3406 57 /*Revision 0 only, otherwise blank*/ f39_3406 58 /*Revision 0 only, otherwise blank*/ f40a3406 59 /*Right rotation, During rotation*/ /*All of field 40 is Revision 1 only, otherwise blank*/ f40b3406 60 f40c3406 61 /*After rotation*/ f40d3406 62 f40e3406 63 /*Left rotation, During rotation*/ f40f3406 64 f40g3406 65 /*After rotation*/ f40h3406 66 f41a3406 67 /*Rotation to child's right*/ /*All of field 41 is revision 0 only*/ f41b3406 68 f41c3406 69 /*Rotation to child's left*/ f41d3406 70; run; data spssdata.ped06_4; *Card 4 of 4 ped06 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped06' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=4; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card4406 1-4 rev4406 5 id4406 6-14 /*same as NINDB number*/ f02a4406 15-16 /*Month*/ f02b4406 17-18 /*Day*/ f02c4406 19-20 /*Year*/ f02d4406 21-23 f02e4406 24-25 f03_4406 26 f04_4406 27 f05_4406 28 /*Revision 1 and 3 only*/ f06_4406 29 /*Revision 3 only*/ f07_4406 30 /*Revision 3 only*/ f08a4406 31 /*All of field 8 is revision 3 only*/ f08b4406 32 f09a4406 33 f09b4406 34 f10a4406 35 f10b4406 36 f11a4406 37 f11b4406 38 f12a4406 39 f12b4406 40 f13_4406 41 f14a4406 42 f14b4406 43 f15_4406 44 f16_4406 45 f17_4406 46 f18_4406 47 f19_4406 48 f20_4406 49 f21_4406 50 f22_4406 51 f23_4406 52 /*Revision 3 only*/ f24_4406 53 /*Revision 1 and 3 only*/ f25_4406 54 /*Revision 1 and 3 only*/ f26_4406 55 f27_4406 56 /*Revision 0 only*/ f28_4406 57 /*Revision 0 and 1 only*/ f29_4406 58 /*Revision 0 and 1 only*/ f30_4406 59 /*Revision 0 and 1 only*/ f31_4406 60 /*Revision 0 and 1 only*/ f32a4406 61 /*Revision 0 and 1 only*/ f32b4406 62 /*Revision 0 and 1 only*/ f33a4406 63 /*Revision 1 only*/ f33b4406 64 /*Revisioin 1 only*/ f34a4406 65 /*Revision 1 only*/ f34b4406 66 /*Revision 1 only*/ f35a4406 67 /*Revision 0 and 1 only*/ f35b4406 68 /*Revision 0 and 1 only*/ f36a4406 69 /*Revision 0 and 1 only*/ f36b4406 70 /*Revision 0 and 1 only*/ f37a4406 71 /*Revision 0 and 1 only*/ f37b4406 72 /*Revision 0 and 1 only*/ f38a4406 73 /*Revision 0 and 1 only*/ f38b4406 74 /*Revision 0 and 1 only*/ f39a4406 75 /*Revision 0 only*/ f39b4406 76 /*Revision 0 only*/; run; *Input ped07, card 0; data spssdata.ped07_0; *Card 1 of 1 ped07 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped07' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=0; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card0407 1-4 rev0407 5 id0407 6-14 /*same as NINDB number*/ f05a0407 15-16 /*Month*/ f05b0407 17-18 /*Day*/ f05c0407 19-20 /*Year*/ f06a0407 21-22 /*Month*/ /*All of field 6 is revision 1 only, otherwise blank*/ f06b0407 23-24 /*Day*/ f06c0407 25-26 /*Year*/ f07_0407 27-28 /*revision 1 only, otherwise blank*/ f08a0407 29 f08b0407 30 /*fields 8b-d are revision 1 only, otherwise blank*/ f08c0407 31 f08d0407 32 f08e0407 33 f09_0407 34 /*revision 1 only, otherwise blank*/ f10a0407 35 f10b0407 36 /*fields 10b-d are revision 1 only, otherwise blank*/ f10c0407 37 f10d0407 38 f11_0407 39 /*revision 1 only, otherwise blank*/; run; *Input ped08, cards 1,2,3,4, and 5; data spssdata.ped08_1; *Card 1 of 5 ped08 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped08' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1408 1-4 rev1408 5 id1408 6-14 /*same as NINDB number*/ f05a1408 15-16 /*Month*/ f05b1408 17-18 /*Day*/ f05c1408 19-20 /*Year*/ f06a1408 21-22 /*Month*/ f06b1408 23-24 /*Day*/ f06c1408 25-26 /*Year*/ f07_1408 27-29 f08_1408 30 f09_1408 31 f10_1408 32 f11_1408 33 f12_1408 34-35 f13_1408 36 f14_1408 37 f15_1408 38 f16_1408 39 f17_1408 40 f18_1408 41 f19_1408 42 f20_1408 43 f21_1408 44 f22_1408 45 f23_1408 46 f24_1408 47 f25_1408 48 f26_1408 49 f27_1408 50 f28_1408 51 f29_1408 52 f30_1408 53 f31_1408 54-56 f32a1408 57-59 f32b1408 60-62 f32c1408 63-65 f32d1408 66-68 f32e1408 69-71 f32f1408 72-74 f32g1408 75-77 f32h1408 78-80; run; data spssdata.ped08_2; *Card 2 of 5 ped08 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped08' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2408 1-4 rev2408 5 id2408 6-14 /*same as NINDB number*/ f05a2408 15-16 /*Month*/ f05b2408 17-18 /*Day*/ f05c2408 19-20 /*Year*/ f06a2408 21-22 /*Month*/ f06b2408 23-24 /*Day*/ f06c2408 25-26 /*Year*/ f07_2408 27-29 f08_2408 30 f09_2408 31 f10_2408 32 f11_2408 33 f12_2408 34-35 f13_2408 36 f14_2408 37 f15_2408 38 f16_2408 39 f17_2408 40 f18_2408 41 f19_2408 42 f20_2408 43 f21_2408 44 f22_2408 45 f23_2408 46 f24_2408 47 f25_2408 48 f26_2408 49 f27_2408 50 f28_2408 51 f29_2408 52 f30_2408 53 f31_2408 54-56 f32a2408 57-59 f32b2408 60-62 f32c2408 63-65 f32d2408 66-68 f32e2408 69-71 f32f2408 72-74 f32g2408 75-77 f32h2408 78-80; run; data spssdata.ped08_3; *Card 3 of 5 ped08 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped08' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3408 1-4 rev3408 5 id3408 6-14 /*same as NINDB number*/ f05a3408 15-16 /*Month*/ f05b3408 17-18 /*Day*/ f05c3408 19-20 /*Year*/ f06a3408 21-22 /*Month*/ f06b3408 23-24 /*Day*/ f06c3408 25-26 /*Year*/ f07_3408 27-29 f08_3408 30 f09_3408 31 f10_3408 32 f11_3408 33 f12_3408 34-35 f13_3408 36 f14_3408 37 f15_3408 38 f16_3408 39 f17_3408 40 f18_3408 41 f19_3408 42 f20_3408 43 f21_3408 44 f22_3408 45 f23_3408 46 f24_3408 47 f25_3408 48 f26_3408 49 f27_3408 50 f28_3408 51 f29_3408 52 f30_3408 53 f31_3408 54-56 f32a3408 57-59 f32b3408 60-62 f32c3408 63-65 f32d3408 66-68 f32e3408 69-71 f32f3408 72-74 f32g3408 75-77 f32h3408 78-80; run; data spssdata.ped08_4; *Card 4 of 5 ped08 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped08' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=4; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card4408 1-4 rev4408 5 id4408 6-14 /*same as NINDB number*/ f05a4408 15-16 /*Month*/ f05b4408 17-18 /*Day*/ f05c4408 19-20 /*Year*/ f06a4408 21-22 /*Month*/ f06b4408 23-24 /*Day*/ f06c4408 25-26 /*Year*/ f07_4408 27-29 f08_4408 30 f09_4408 31 f10_4408 32 f11_4408 33 f12_4408 34-35 f13_4408 36 f14_4408 37 f15_4408 38 f16_4408 39 f17_4408 40 f18_4408 41 f19_4408 42 f20_4408 43 f21_4408 44 f22_4408 45 f23_4408 46 f24_4408 47 f25_4408 48 f26_4408 49 f27_4408 50 f28_4408 51 f29_4408 52 f30_4408 53 f31_4408 54-56 f32a4408 57-59 f32b4408 60-62 f32c4408 63-65 f32d4408 66-68 f32e4408 69-71 f32f4408 72-74 f32g4408 75-77 f32h4408 78-80; run; data spssdata.ped08_5; *Card 5 of 5 ped08 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped08' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=5; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card5408 1-4 rev5408 5 id5408 6-14 /*same as NINDB number*/ f05a5408 15-16 /*Month*/ f05b5408 17-18 /*Day*/ f05c5408 19-20 /*Year*/ f06a5408 21-22 /*Month*/ f06b5408 23-24 /*Day*/ f06c5408 25-26 /*Year*/ f07_5408 27-29 f08_5408 30 f09_5408 31 f10_5408 32 f11_5408 33 f12_5408 34-35 f13_5408 36 f14_5408 37 f15_5408 38 f16_5408 39 f17_5408 40 f18_5408 41 f19_5408 42 f20_5408 43 f21_5408 44 f22_5408 45 f23_5408 46 f24_5408 47 f25_5408 48 f26_5408 49 f27_5408 50 f28_5408 51 f29_5408 52 f30_5408 53 f31_5408 54-56 f32a5408 57-59 f32b5408 60-62 f32c5408 63-65 f32d5408 66-68 f32e5408 69-71 f32f5408 72-74 f32g5408 75-77 f32h5408 78-80; run; *Input ped10, cards 1,2,and 3; data spssdata.ped10_1; *Card 1 of 3 ped10 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped10' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1410 1-4 rev1410 5 id1410 6-14 /*same as NINDB number*/ f05_1410 15-16 f06a1410 17-18 /*Month*/ f06b1410 19-20 /*Day*/ f06c1410 21-22 /*Year*/ f07a1410 23-24 /*Month*/ f07b1410 25-26 /*Day*/ f07c1410 27-28 /*Year*/ f08_1410 29-32 f09_1410 33-34 f10_1410 35-36 f11_1410 37-38 f12_1410 39-40 f13_1410 41-42 f14_1410 43-45 f15_1410 46-48 f16_1410 49 f17_1410 50 /*revision 1 only, otherwise blank*/ f18_1410 51 /*revision 1 only, otherwise blank*/ f19_1410 52 f20_1410 53 f21_1410 $ 54-55 /*(-) and Blank=closed or not reported in field 20 (revision 1 only)*/ f22_1410 56-57 /*Blank=closed or not reported in field20 for revision 1 only, not on revision 0*/ f23_1410 58 /*revision 1 only, otherwise blank*/ f24_1410 59 f25_1410 $ 60-61 /*(-) and Blank=closed or not reported in field 24 (revision 1 only)*/ f26_1410 62-63 /*Blank=closed or not reported in field 24 (revision 1 only)*/ f27_1410 64 /*Blank if revision 0 or closed or not reported in Field 24*/ f28_1410 65 /*revision 1 only, blank otherwise*/ f29_1410 66 f30_1410 67 f31_1410 68 f32_1410 69 f33_1410 70 f34_1410 71 f35_1410 72 f36_1410 73 /*revision 1 only*/ f37_1410 74 f38_1410 75 f39_1410 76 f40_1410 77 /*revision 1 only*/ f41_1410 78 /*Blank*/ f42_1410 79-80 /*revision 0 only, otherwise blank*/; run; data spssdata.ped10_2; *Card 2 of 3 ped10 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped10' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2410 1-4 rev2410 5 id2410 6-14 /*same as NINDB number*/ f02_2410 15-16 f03_2410 17 /*revision 1 only, otherwise blank*/ f04_2410 18 f05_2410 19 f06_2410 20 f07_2410 21 f08_2410 22 f09_2410 23 /*revision 1 only, otherwise blank*/ f10_2410 24 f11_2410 25 /*revision 1 only, otherwise blank*/ f12_2410 26 /*revision 1 only, otherwise blank*/ f13_2410 27 /*revision 1 only, otherwise blank*/ f14_2410 28 /*revision 1 only, otherwise blank*/ f15_2410 29 /*revision 1 only, otherwise blank*/ f16_2410 30 /*revision 1 only, otherwise blank*/ f17_2410 31 f18a2410 32 /*All of field 18 is revisioin 1 only, otherwise blank*/ f18b2410 33 f18c2410 34 f19a2410 35 /*All of field 19 is revisioin 1 only, otherwise blank*/ f19b2410 36 f19c2410 37 f20a2410 38 /*All of field 20 is revisioin 1 only, otherwise blank*/ f20b2410 39 f20c2410 40 f21a2410 41 /*All of field 21 is revisioin 1 only, otherwise blank*/ f21b2410 42 f21c2410 43 f22a2410 44 /*All of field 22 is revisioin 1 only, otherwise blank*/ f22b2410 45 f22c2410 46 f23_2410 47 f24_2410 48 /*revision 1 only, otherwise blank*/ f25_2410 49 f26_2410 50 f27_2410 51 f28_2410 52 f29_2410 53 /*revision 1 only, otherwise blank*/ f30_2410 54 /*revision 1 only, otherwise blank*/ f31_2410 55 /*revision 1 only, otherwise blank*/ f32_2410 56 /*revision 1 only, otherwise blank*/ f33_2410 57 /*revision 1 only, otherwise blank*/ f34_2410 58 /*revision 1 only, otherwise blank*/ f35_2410 59 /*revision 1 only, otherwise blank*/ f36_2410 60 /*revision 1 only, otherwise blank*/ f37_2410 61 /*revision 1 only, otherwise blank*/ f38_2410 62 /*revision 1 only, otherwise blank*/ f39_2410 63 /*revision 1 only, otherwise blank*/ f40_2410 64 /*revision 1 only, otherwise blank*/ f41_2410 65 /*revision 1 only, otherwise blank*/ f42_2410 66 /*revision 1 only, otherwise blank*/ f43_2410 67 /*revision 1 only, otherwise blank*/ f44_2410 68 /*revision 1 only, otherwise blank*/ f45_2410 69 /*revision 1 only, otherwise blank*/ f46_2410 70 /*revision 1 only, otherwise blank*/ f47_2410 71 /*revision 1 only, otherwise blank*/ f48_2410 72 /*revision 1 only, otherwise blank*/; run; data spssdata.ped10_3; *Card 3 of 3 ped10 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped10' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3410 1-4 rev3410 5 id3410 6-14 /*same as NINDB number*/ f02_3410 15-16 /*Revision 1 only --OTHERWISE BLANK*/ f03_3410 17-19 f04_3410 20 f05_3410 21-22 f06_3410 23-24 f07_3410 25 f08_3410 26 f09_3410 27 f10_3410 28 f11_3410 29 f12_3410 30 f13_3410 31 f14_3410 32 f15_3410 33 f16_3410 34 f17_3410 35 f18a3410 36 f18b3410 37 f18c3410 38 f18d3410 39 f18e3410 40 f19a3410 41 f19b3410 42 f19c3410 43 f19d3410 44 f19e3410 45 f20_3410 46 f21_3410 47 f22_3410 48 f23_3410 49 f24_3410 50 f25a3410 51 f25b3410 52 f25c3410 53 f25d3410 54 f25e3410 55; run; *Input ped11, cards 1,2,and 3; data spssdata.ped11_1; *Card 1 of 3 ped11 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped11' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1411 1-4 rev1411 5 id1411 6-14 /*same as NINDB number*/ f05_1411 15-16 f06a1411 17-18 /*Month*/ /*NOT SURE -- NOT MARKED LIKE THIS*/ f06b1411 19-20 /*Day*/ f06c1411 21-22 /*Year*/ f07a1411 23-24 /*Month*/ /*NOT SURE -- NOT MARKED LIKE THIS*/ f07b1411 25-26 /*Day*/ f07c1411 27-28 /*Year*/ f08_1411 29-32 f09_1411 33-34 f10_1411 35-36 /*revisions 1 and 3 only, otherwise blank*/ f11_1411 37-38 f12_1411 39-40 /*revisions 1 and 3 only, otherwise blank*/ f13_1411 41 f14_1411 42 f15_1411 $ 43-44 /*revisions 1 and 3 only, X and blank is closed or not reported in column 42*/ f16_1411 45-46 /*revisions 1 and 3 only, blank if closed or not reported in column 42 and for revisions 0 and 2*/ f17_1411 47 /*revisions 1 and 3 only, blank if closed or not reported in column 42 and for revisions 0 and 2*/ f18_1411 48 f19_1411 49 /*revisions 1 and 3 only, blank otherwise*/ f20_1411 50 /*revisions 1 and 3 only, blank otherwise*/ f21_1411 51 /*revisions 1 and 3 only, blank otherwise*/ f22_1411 52 /*revisions 1 and 3 only, blank otherwise*/ f23_1411 53 /*revisions 1 and 3 only, blank otherwise*/ f24_1411 54 /*revisions 1 and 3 only, blank otherwise*/ f25_1411 55 f26_1411 56 f27_1411 57 /*revisions 1 and 3 only, blank otherwise*/ f28_1411 58 f29a1411 59 f29b1411 60 f29c1411 61 f29d1411 62 f29e1411 63 f30_1411 64 f31_1411 65 f32_1411 66 f33_1411 67 f34_1411 68 /*revision 1 and 3 only, blank otherwise*/ f35_1411 69 f36_1411 70 f37_1411 71 /*revisions 1 and 3 only, blank otherwise*/ f38_1411 72 f39_1411 73 f40_1411 74 f41_1411 75 f42_1411 76 f43_1411 77 f44_1411 78 f45_1411 79 f46_1411 80; run; data spssdata.ped11_2; *Card 2 of 3 ped11 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped11' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2411 1-4 rev2411 5 id2411 6-14 /*same as NINDB number*/ f02_2411 15-16 f03_2411 17 /*revision 1 only, otherwise blank*/ f04_2411 18 /*revision 1 only, otherwise blank*/ f05_2411 19 /*revision 1 only, otherwise blank*/ f06_2411 20 /*revision 1 only, otherwise blank*/ f07_2411 21 /*revision 1 only, otherwise blank*/ f08_2411 22 /*revision 1 only, otherwise blank*/ f09_2411 23 f10_2411 24 f11_2411 25 f12_2411 26 f13_2411 27 f14_2411 28 f15_2411 29 f16_2411 30 f17_2411 31 f18_2411 32 f19_2411 33 f20_2411 34 f21_2411 35 f22_2411 36 /*revision 1 only, otherwise blank*/ f23_2411 37 f24_2411 38 f25_2411 39 f26_2411 40 f27_2411 41 f28_2411 42 f29_2411 43 f30_2411 44 /*revision 1 only, otherwise blank*/ f31a2411 45 /*All of field 31 is revision 1 only, otherwise blank*/ f31b2411 46 f32a2411 47 /*All of field 32 is revision 1 only, otherwise blank*/ f32b2411 48 f33a2411 49 /*All of field 33 is revision 1 only, otherwise blank*/ f33b2411 50 f34a2411 51 /*All of field 34 is revision 1 only, otherwise blank*/ f34b2411 52 f35a2411 53 /*All of field 35 is revision 1 only, otherwise blank*/ f35b2411 54 f36a2411 55 f36b2411 56 f37a2411 57 f37b2411 58 f38a2411 59 f38b2411 60 f39a2411 61 f39b2411 62 f40_2411 63 f41_2411 64 f42_2411 65 f43_2411 66 /*revision 1 only, blank otherwise*/ f44_2411 67 /*revision 1 only, blank otherwise*/ f45_2411 68 /*revision 1 only, blank otherwise*/ f46_2411 69 f47_2411 70 f48_2411 71 f49_2411 72 f50_2411 73 /*revision 1 only, blank otherwise*/ f51_2411 74 /*revision 1 only, blank otherwise*/ f52_2411 75 /*revision 1 only, blank otherwise*/ f53_2411 76 f54_2411 77 f55_2411 78 /*revision 1 only, blank otherwise*/ f56_2411 79 f57_2411 80 /*revision 1 only, blank otherwise*/; run; data spssdata.ped11_3; *Card 3 of 3 ped11 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped11' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3411 1-4 rev3411 5 id3411 6-14 /*same as NINDB number*/ f02_3411 15-16 /*revisions 0 and 2 only*/ f03_3411 17 f04_3411 18 f05_3411 19 f06_3411 20 f07_3411 21-22 f08_3411 23 f09_3411 24 f10_3411 25 f11_3411 26 f12_3411 27 f13_3411 28 f14_3411 29 f15_3411 30 f16_3411 31 f17_3411 32 f18_3411 33 f19_3411 34 f20_3411 35 f21_3411 36 f22_3411 37 f23_3411 38 f24_3411 39 f25_3411 40 f26_3411 41 f27_3411 42 f28_3411 43 f29_3411 44 f30_3411 45 f31_3411 46 f32_3411 47 f33_3411 48 f34_3411 49 f35_3411 50 f36_3411 51 f37_3411 52 f38_3411 53 f39_3411 54 f40_3411 55 f41_3411 56 f42_3411 57 f43_3411 58 f44_3411 59 f45_3411 60 f46_3411 61 f47_3411 62 f48_3411 63; run; *Input ped12, cards 1,2,3, and 4; data spssdata.ped12_1; *Card 1 of 4 ped12 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped12' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1412 1-4 rev1412 5 id1412 6-14 /*same as NINDB number*/ f05a1412 15 f05b1412 16 f06_1412 17 f07a1412 18 f07b1412 19 f07c1412 20 f07d1412 21 f07e1412 22 f07f1412 23 f07g1412 24 f07h1412 25 f07i1412 26 f07j1412 27 f07k1412 28 f07l1412 29 f07m1412 30 f07n1412 31 f07o1412 32 f07p1412 33 f07q1412 34 f07r1412 35 f07s1412 36 f07t1412 37 f07u1412 38 f07v1412 39 f07w1412 40 f07x1412 41-42 f08a1412 43-45 f08b1412 46 f09a1412 47-49 f09b1412 50 f09c1412 51-53 f09d1412 54 f09e1412 55-57 f09f1412 58 f09g1412 59-61 f09h1412 62 f09i1412 63-65 f09j1412 66 f09k1412 67-69 f09l1412 70 f09m1412 71-73 f09n1412 74 f09o1412 75-77 f09p1412 78; run; data spssdata.ped12_2; *Card 2 of 4 ped12 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped12' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2412 1-4 rev2412 5 id2412 6-14 /*same as NINDB number*/ f05a2412 15 f05b2412 16 f06_2412 17 f07a2412 18 f07b2412 19 f07c2412 20 f07d2412 21 f07e2412 22 f07f2412 23 f07g2412 24 f07h2412 25 f07i2412 26 f07j2412 27 f07k2412 28 f07l2412 29 f07m2412 30 f07n2412 31 f07o2412 32 f07p2412 33 f07q2412 34 f07r2412 35 f07s2412 36 f07t2412 37 f07u2412 38 f07v2412 39 f07w2412 40 f07x2412 41-42 f08a2412 43-45 f08b2412 46 f09a2412 47-49 f09b2412 50 f09c2412 51-53 f09d2412 54 f09e2412 55-57 f09f2412 58 f09g2412 59-61 f09h2412 62 f09i2412 63-65 f09j2412 66 f09k2412 67-69 f09l2412 70 f09m2412 71-73 f09n2412 74 f09o2412 75-77 f09p2412 78; run; data spssdata.ped12_3; *Card 3 of 4 ped12 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped12' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3412 1-4 rev3412 5 id3412 6-14 /*same as NINDB number*/ f05a3412 15 f05b3412 16 f06_3412 17 f07a3412 18 f07b3412 19 f07c3412 20 f07d3412 21 f07e3412 22 f07f3412 23 f07g3412 24 f07h3412 25 f07i3412 26 f07j3412 27 f07k3412 28 f07l3412 29 f07m3412 30 f07n3412 31 f07o3412 32 f07p3412 33 f07q3412 34 f07r3412 35 f07s3412 36 f07t3412 37 f07u3412 38 f07v3412 39 f07w3412 40 f07x3412 41-42 f08a3412 43-45 f08b3412 46 f09a3412 47-49 f09b3412 50 f09c3412 51-53 f09d3412 54 f09e3412 55-57 f09f3412 58 f09g3412 59-61 f09h3412 62 f09i3412 63-65 f09j3412 66 f09k3412 67-69 f09l3412 70 f09m3412 71-73 f09n3412 74 f09o3412 75-77 f09p3412 78; run; data spssdata.ped12_4; *Card 4 of 4 ped12 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped12' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=4; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card4412 1-4 rev4412 5 id4412 6-14 /*same as NINDB number*/ f05a4412 15 f05b4412 16 f06_4412 17 f07a4412 18 f07b4412 19 f07c4412 20 f07d4412 21 f07e4412 22 f07f4412 23 f07g4412 24 f07h4412 25 f07i4412 26 f07j4412 27 f07k4412 28 f07l4412 29 f07m4412 30 f07n4412 31 f07o4412 32 f07p4412 33 f07q4412 34 f07r4412 35 f07s4412 36 f07t4412 37 f07u4412 38 f07v4412 39 f07w4412 40 f07x4412 41-42 f08a4412 43-45 f08b4412 46 f09a4412 47-49 f09b4412 50 f09c4412 51-53 f09d4412 54 f09e4412 55-57 f09f4412 58 f09g4412 59-61 f09h4412 62 f09i4412 63-65 f09j4412 66 f09k4412 67-69 f09l4412 70 f09m4412 71-73 f09n4412 74 f09o4412 75-77 f09p4412 78; run; *Input ped14, card 1; *NOTE: A card is punched for each examination with columns 1-54 below. The maximum number of examinations is 7; data spssdata.ped14_1; *Card 1 of 1 ped14 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped14' obs=20 lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1414 1-4 rev1414 5 id1414 6-14 /*same as NINDB number*/ f05a1414 15-16 /*Month*/ /*99=month, day or year unknown*/ f05b1414 17-18 /*Day*/ f05c1414 19-20 /*Year*/ Dateexam 21-26 f06a1414 21-22 /*Month*/ f06b1414 23-24 /*Day*/ f06c1414 25-26 /*Year*/ f07_1414 27-29 f08a1414 30-34 f08b1414 35 f09a1414 36-38 f09b1414 39-40 f09c1414 41 f10a1414 42-43 f10b1414 44 f11a1414 45-47 f11b1414 48-49 f11c1414 50 f12a1414 51-52 f12b1414 53 f13_1414 54; run; /* Proc sort data=ped14_1; By nindb site familyno pregnancy plurality person sitefam card1414 rev1414 id1414 f05a1414 f05b1414 f05c1414; Proc transpose data=ped14_1 Out=flipped; by nindb site familyno pregnancy plurality person sitefam card1414 rev1414 id1414 f05a1414 f05b1414 f05c1414; ID ; Var f06a1414 f06b1414 f06c1414 f07_1414 f08a1414 f08b1414 f09a1414 f09b1414 f09c1414 f10a1414 f10b1414 f11a1414 f11b1414 f11c1414 f12a1414 f12b1414 f13_1414; proc print data=flipped; run; */ *Input ped75, card 0; data spssdata.ped75_0; *Card 1 of 1 ped75 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped75' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=0; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card0475 1-4 rev0475 5 id0475 6-14 /*same as NINDB number*/ f05_0475 15 f06_0475 16 f07a0475 17-18 /*Month*/ f07b0475 19-20 /*Day*/ f07c0475 21-22 /*Year*/ f08a0475 23 f08b0475 24-25 f09a0475 26 f09b0475 27 f10a0475 28 f10b0475 29 f11_0475 30 f12a0475 31 f12b0475 32 f13a0475 33 f13b0475 34 f14_0475 35 f15a0475 36 f15b0475 37 f15c0475 38 f15d0475 39 f15e0475 40 f15f0475 41 f15g0475 42 f15h0475 43 f16_0475 44; run; *Input ped76, carda 1,2,3, and 4; data spssdata.ped76_1; *Card 1 of 4 ped76 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped76' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=1; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card1476 1-4 rev1476 5 id1476 6-14 /*same as NINDB number*/ f05_1476 15-16 f06_1476 17 f07a1476 18-19 /*Month*/ f07b1476 20-21 /*Day*/ f07c1476 22-23 /*Year*/ f08a1476 24-25 /*Month*/ f08b1476 26-27 /*Day*/ f08c1476 28-29 /*Year*/ f09a1476 30 f09b1476 31-32 f10a1476 33-35 /*Pounds*/ f10b1476 36-37 /*Ounces*/ f11_1476 38-40 f12_1476 41-42 f13a1476 43-45 f13b1476 46-48 f14_1476 49 f15_1476 50 f16_1476 51 f17_1476 52 f18_1476 53 f19_1476 54 f20_1476 55 f21_1476 56 f22_1476 57 f23_1476 58 f24_1476 59 f25a1476 60 f25b1476 61 f25c1476 62 f25d1476 63 f25e1476 64 f25f1476 65 f25g1476 66 f26_1476 67 f27_1476 68 f28a1476 69 f28b1476 70 f29a1476 71 f29b1476 72 f30_1476 73 f31_1476 74 f32a1476 75 f32b1476 76 f32c1476 77 f33_1476 78; run; data spssdata.ped76_2; *Card 2 of 4 ped76 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped76' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=2; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card2476 1-4 rev2476 5 id2476 6-14 /*same as NINDB number*/ f02a2476 15-16 f02b2476 17 f02c2476 18-19 /*Month*/ f02d2476 20-21 /*Day*/ f02e2476 22-23 /*Year*/ f02f2476 24-25 /*Month*/ f02g2476 26-27 /*Day*/ f02h2476 28-29 /*Year*/ f02i2476 30 f02j2476 31-32 f03a2476 33 f03b2476 34 f03c2476 35 f03d2476 36 f03e2476 37 f03f2476 38 f03g2476 39 f03h2476 40 f03i2476 41 f04a2476 42 f04b2476 43 f04c2476 44 f05a2476 45 f05b2476 46 f05c2476 47 f05d2476 48 f05e2476 49 f06a2476 50 f06b2476 51 f06c2476 52 f07a2476 53 f07b2476 54 f07c2476 55 f08_2476 56 f09_2476 57 f10_2476 58 f11_2476 59 f12a2476 60 f12b2476 61 f12c2476 62 f12d2476 63 f13_2476 64 f14_2476 65 f15_2476 66 /*Revision 1 and 3 only*/ f16_2476 67 f17_2476 68 f18_2476 69 f19_2476 70 f20_2476 71 f21a2476 72 f21b2476 73 f22a2476 74 f22b2476 75 f23_2476 76 f24_2476 77 f25_2476 78 f26_2476 79; run; data spssdata.ped76_3; *Card 3 of 4 ped76 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped76' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=3; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card3476 1-4 rev3476 5 id3476 6-14 /*same as NINDB number*/ f02a3476 15-16 f02b3476 17 f02c3476 18-19 /*Month*/ f02d3476 20-21 /*Day*/ f02e3476 22-23 /*Year*/ f02f3476 24-25 /*Month*/ f02g3476 26-27 /*Day*/ f02h3476 28-29 /*Year*/ f02i3476 30 f02j3476 31-32 f03a3476 33 f03b3476 34 f03c3476 35 f03d3476 36 f03e3476 37 f04a3476 38 f04b3476 39 f04c3476 40 /*revision 1 and 3 only, otherwise coded 7*/ f04d3476 41 /*revision 1 and 3 only, otherwise coded 7*/ f04e3476 42 f05_3476 43 f06a3476 44 f06b3476 45 f07a3476 46 f07b3476 47 f08a3476 48 f08b3476 49 f09a2476 50 f09b3476 51 f10a3476 52 f10b3476 53 f11a3476 54 f11b3476 55 f11c3476 56 f11d3476 57 f11e3476 58 f11f3476 59 f11g3476 60 f11h3476 61 f11i3476 62 f11j3476 63 f11k3476 64 f12a3476 65 f12b3476 66 f12c3476 67 f12d3476 68 f12e3476 69 f13_3476 70 f14_3476 71 f15_3476 72 f16a3476 73 f16b3476 74 f16c3476 75 f16d3476 76 f17_3476 77 f18_3476 78 f19_3476 79; run; data spssdata spssdata.ped76_4; *Card 4 of 4 ped76 cards; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped76' lrecl=81; * uses column input; input cardnumb 1 @; * @ allows the conditional input; if cardnumb=4; *Does not read in any other cardform; input /* condition*/ nindb 6-14 site 6-7 familyno 8-12 pregnancy 13 plurality 14 person 13-14 sitefam 6-12 card4476 1-4 rev4476 5 id4476 6-14 /*same as NINDB number*/ f02a4476 15-16 f02b4476 17 f02c4476 18-19 /*Month*/ f02d4476 20-21 /*Day*/ f02e4476 22-23 /*Year*/ f02f4476 24-25 /*Month*/ f0243476 26-27 /*Day*/ f02h4476 28-29 /*Year*/ f02i4476 30 f02j4476 31-32 f03a4476 33 f03b4476 34 f04a4476 35 f04b4476 36 f05a4476 37 f05b4476 38 f06a4476 39 f06b4476 40 f07_4476 41 f08_4476 42 f09_4476 43 f10a4476 44 f10b4476 45 f11_4476 46 f12_4476 47 f13_4476 48 f14_4476 49 f15_4476 50 f16_4476 51 f17_4476 52 f18_4476 53 f19_4476 54 f20_4476 55 f21_4476 56 f22_4476 57 f23_4476 58 f24_4476 59 f25_4476 60 /*revisions 1 and 3 only, otherwise coded 7*/ f26_4476 61 f27_4476 62 f28_4476 63 f29_4476 64; run; libname spssdata dbstata 'c:\spssdata' ver=64; data statadat.ped_dta1; merge spssdata.ped01_1 spssdata.ped01_2 spssdata.ped01_3 spssdata.ped02_1 spssdata.ped02_2 spssdata.ped02_3 spssdata.ped02_4 spssdata.ped02_5 spssdata.ped03_1 spssdata.ped03_2 spssdata.ped05_0; by nindb; run; data statadat.ped_dta2; merge spssdata.ped06_1 spssdata.ped06_2 spssdata.ped06_3 spssdata.ped06_4 spssdata.ped07_0 spssdata.ped08_1 spssdata.ped08_2 spssdata.ped08_3 spssdata.ped08_4 spssdata.ped08_5 spssdata.ped10_1 spssdata.ped10_2 spssdata.ped10_3; by nindb; run; data statadat.ped_dta3; merge spssdata.ped11_1 spssdata.ped11_2 spssdata.ped11_3 spssdata.ped12_1 spssdata.ped12_2 spssdata.ped12_3 spssdata.ped12_4 spssdata.ped14_1 spssdata.ped75_0 spssdata.ped76_1 spssdata.ped76_2 spssdata.ped76_3 spssdata.ped76_4; by nindb; run; data desktop.ped (compress=yes); set spssdata.ped; run; libname spssdata dbstata ':\spssdata' ver=64; data spssdata.ped_dta1; set desktop.ped (keep= nindb--F32H5408); data spssdata.ped_dta2; set desktop.ped (keep=nindb card1410--f29_4476); run; */ data spssdata spssdata.ped14_1; infile 'c:\Documents and Settings\john\Desktop\cpp cd 1 ascii data & original fiche documentation pdf\nichd cpp\ped14' lrecl=81; input nindb 6-14 ; run; proc freq; tables nindb ; title 'Ped 14'; run;