SAS Code to Read in the ASCII SPD 2000 Food Security Status Data File data temp; infile 'd:\foodsecu\spd\spd2000\spd00fs1.dat' lrecl=42; *modify path and filename in accordance with file location in your system; input @1 ihhkey00 $ 15. /* unique household identifier based on SIPP_PNL, PP_ID, ADDIDE0 */ @17 fsscrnr0 2. /* food security module screening status */ @19 fsrawr0 2. /* household food security raw score */ @21 fsscalr0 4. /* household food security scale score (interval-level measure) */ @25 fsstatr0 2. /* household food security status category (categorical measure) */ @27 fsraadr0 2. /* adult food security raw score */ @29 fsscadr0 4. /* adult food security scale score (interval-level measure) */ @33 fsstadr0 2. /* adult food security status category (categorical measure) */ @35 fsrachr0 2. /* children's food security raw score */ @37 fsscchr0 4. /* children's food security scale score (interval-level measure) */ @41 fsstchr0 2.; /* children's food security status category (categorical measure) */ if fsscalr0 gt 0 then fsscalr0=fsscalr0/100; *to restore the 2 decimal places; if fsscadr0 gt 0 then fsscadr0=fsscadr0/100; *to restore the 2 decimal places; if fsscchr0 gt 0 then fsscchr0=fsscchr0/100; *to restore the 2 decimal places; run; proc freq data=temp; tables fsscrnr0--fsstchr0; title1 'Run 8: HH 2000, wt no'; run; *This SAS data set will now match to the SPD 2000 Cross-Sectional File by IHHKEY00; *The 10 food security variables are stored without leading zeros;