SAS Code to Read CPS 1998 30-Day Food Security Scale ASCII Data File data temp; *modify data file name to suit your conventions; infile 'd:\fs98xtra.dat' lrecl=35; *modify to actual path on your computer; input @1 gestcen 2. @3 hrhhid $ 15. @18 hrsersuf $ 2. @20 hrfs12m5 2. @22 hrfs12m6 2. @24 hrfs12m7 4. @28 hrfs30m1 2. @30 hrfs30m2 2. @32 hrfs30m3 4.; *restore 2 decimal places to scale variables; if hrfs12m7 gt 0 then hrfs12m7=hrfs12m7/100; if hrfs30m3 gt 0 then hrfs30m3=hrfs30m3/100; run; *file contains 43,744 records, one for each supplement-interview household in August 1998 CPS Food Security Supplement data file; *file is sorted by gestcen, hrhhid, hrsersuf and matches to the August 1998 CPS Food Security Supplement data file by these variables;