SAS Code to Read in the ASCII SPD 2001 Food Security Status Data File data temp; infile 'd:\foodsecu\spd\spd2001\spd01fs.dat' lrecl=42; *modify path and filename in accordance with file location in your system; input @1 ihhkey01 $ 15. /* unique household identifier based on SIPP_PNL, PP_ID, ADDIDE1 */ @17 fsscrnr1 2. /* food security module screening status */ @19 fsrawr1 2. /* household food security raw score */ @21 fsscalr1 4. /* household food security scale score (interval-level measure) */ @25 fsstatr1 2. /* household food security status category (categorical measure) */ @27 fsraadr1 2. /* adult food security raw score */ @29 fsscadr1 4. /* adult food security scale score (interval-level measure) */ @33 fsstadr1 2. /* adult food security status category (categorical measure) */ @35 fsrachr1 2. /* children's food security raw score */ @37 fsscchr1 4. /* children's food security scale score (interval-level measure) */ @41 fsstchr1 2.; /* children's food security status category (categorical measure) */ if fsscalr1 gt 0 then fsscalr1=fsscalr1/100; *to restore the 2 decimal places; if fsscadr1 gt 0 then fsscadr1=fsscadr1/100; *to restore the 2 decimal places; if fsscchr1 gt 0 then fsscchr1=fsscchr1/100; *to restore the 2 decimal places; run; proc freq data=temp; tables fsscrnr1--fsstchr1; title1 'Run 9: HH, unweighted'; run; *This SAS data set will now match to the SPD 2001 Cross-Sectional File by IHHKEY01; *The 10 food security variables are stored without leading zeros;