From BlodgettJ@UMSYSTEM.EDU Wed Aug 21 09:08:23 2002 Date: Wed, 21 Aug 2002 08:59:01 -0500 From: "Blodgett, John G." Reply-To: National State Data Center To: SDC-L@LISTSERV.WVNET.EDU Subject: Problem reading uatype var in sf3cnvt [The following text is in the "iso-8859-1" character set] [Your display is set for the "US-ASCII" character set] [Some characters may be displayed incorrectly] Thank to the folks in Oklahoma for finding this one. The code in the cnvtsf3.sas (and cnvtsf3_windows.sas) modules you have now reads: @128 UA $5. +1 UAType $1. This is incorrect. The "+1" skips over the UASC field/variable. Worse, it only skips over half of it, since it is a 2-character code; and this means that UATYPE is read from the wrong column (134 instead of 135). The above line has been edited to read: @128 UA $5. UASC $2. UAType $1. (be SURE to type those periods!) This reads the new variable, UASC, and corrects the value of UAType. This change has been made to both sas modules on our site and the old versions have been replaced in the .zip file pointed to from the Clearinghouse page. John Blodgett OSEDA - Office of Social & Economic Data Analysis U. of Missouri Outreach and Extension 626 Clark Hall - UMC Columbia, MO 65211 (573) 884-2727 blodgettj@umsystem.edu URL: http://oseda.missouri.edu/jgb/