/*SHORT TITLE:  Program for Persons 2002 */
/*SHORT TITLE:  Create by hand with emacs macros - check carefully. */


set width 80.
file handle in /name="uf_02_per.dat".

DATA LIST FILE=IN /
  RECTYPE  1 
  BORO     2 
  PERSON   3-4 
  SEX      5 
  UF43     6-7 
  RELATION 8-9 
  HSPANIC  10 
  SPOUSE   13-14 
  PARENT1  15-16 
  PARENT2  17-18 
  UF3      19 
  ITEM40A  20 
  ITEM40B  21-22 
  ITEM41   23 
  ITEM42   24 
  ITEM43   25-26 
  ITEM44   27 
  ITEM45C  28 
  ITEM46A  29-31 
  ITEM46B  32-34 
  ITEM47   35 
  ITEM48A  36-37 
  ITEM48B  38-39 
  SALARY   40-45 
  BUSINC   46-51 
  INTINC   52-57 
  RETINC1  58-63 
  GOVTINC  64-69 
  RETINC2  70-75 
  OTHINC   76-81 
  EDUCTN   82-83 
  UF41     84-90 
  UF41A    91 
  UF44     92 
  UF45     93 
  LFS      94 
  CHKG     95 
  PW       96-104  (5)
  SEQNO    105-110 
  FLGSX    111 
  FLGAG    112 
  FLGHS    113 
  FLGRC    114 
  A1A40A   115 
  A1A40B   116 
  A1A41    117 
  A1A42    118 
  A1A43    119 
  A1B44    120 
  A1B45C   121 
  A1B46A   122 
  A1B46B   123 
  A1B47    124 
  A1B48A   125 
  A1B48B   126 
  A2SALARY 127 
  A2BUSINC 128 
  AINTINC  129 
  ARET1INC 130 
  AGOVTINC 131 
  ARET2INC 132 
  AOTHINC  133 
  FLGEDUC  134 
  RACE     135-156 
  WHITE    135-136 
  BLACK    137-138 
  NATIVE   139-140 
  CHINESE  141-142 
  FILIPINO 143-144 
  KOREAN   145-146 
  VIETNAME 147-148 
  SE_ASIAN 149-150 
  OTH_ASIA 151-152 
  HAWAIIAN 153-154 
  OTH_PACI 155-156 
.
VARIABLE LABELS
   RECTYPE  "Record Type"
   BORO     "Borough Label"
   PERSON   "Person Number"
   SEX      "Sex"
   UF43     "Age Recode"
   RELATION "Relationship"
   HSPANIC  "Spanish/Hispanic Origin"
   SPOUSE   "Person Number of Spouse/Partner"
   PARENT1  "Person Number of 1st Parent"
   PARENT2  "Person Number of 2nd Parent"
   UF3      "Person from Temporary Residence"
   ITEM40A  "Worked Last Week"
   ITEM40B  "Hours Worked Last Week"
   ITEM41   "Temporarily Absent or on Layoff from Job Last Week"
   ITEM42   "Looking for Work"
   ITEM43   "Reason Not Looking for Work"
   ITEM44   "Last Time Worked"
   ITEM45C  "Major Industry Type"
   ITEM46A  "Worker's Industry Code"
   ITEM46B  "Workers' Occupation Code"
   ITEM47   "Type of Worker"
   ITEM48A  "Number of Weeks Worked in 2001"
   ITEM48B  "Average Hours Worked per Week in 2001"
   SALARY   "Income From Wages, Salary, Commissions, Bonuses, or Tips"
   BUSINC   "Income From Own Farm or Nonfarm Business"
   INTINC   "Income From Interest, Dividends, etc."
   RETINC1  "Income From Social Security"
   GOVTINC  "Income from SSI, TANF, etc."
   RETINC2  "Income From Retirement, etc."
   OTHINC   "Income From VA Payments, Alimony, etc."
   EDUCTN   "Level of School Completed"
   UF41     "Total Person Income Recode"
   UF41A    "Income Flag"
   UF44     "Business Income Loss Flag"
   UF45     "Interest Income Loss Flag"
   LFS      "Labor Force Status Recode"
   CHKG     "Check Item G"
   PW       "Final person weight "
   SEQNO    "HH Sequence Number"
   FLGSX    "Sex Allocation Flag"
   FLGAG    "Age Allocation Flag"
   FLGHS    "Spanish/Hispanic Origin Allocation Flag"
   FLGRC    "Race Allocation Flag"
   A1A40A   "Worked Last Week Allocation Flag"
   A1A40B   "Hours Worked Last Week Allocation Flag"
   A1A41    "Temporarily Absent or on Layoff Allocation Flag"
   A1A42    "Looking for Work Allocation Flag"
   A1A43    "Reason Not Looking for Work Allocation Flag"
   A1B44    "Last Time Worked Allocation Flag"
   A1B45C   "Major Industry Type Allocation Flag"
   A1B46A   "Industry Allocation Flag"
   A1B46B   "Occupation Allocation Flag"
   A1B47    "Type of Worker Allocation Flag"
   A1B48A   "Number of Weeks Worked in 2001 Allocation Flag"
   A1B48B   "Average Number of Hours Worked Allocation Flag"
   A2SALARY "Income From Wages, Salary, etc."
   A2BUSINC "Income From Own Business Allocation Flag"
   AINTINC  "Income From Interest, etc., Allocation Flag"
   ARET1INC "Income From Social Security Allocation Flag"
   AGOVTINC "Income from SSI, TANF, etc., Home Allocation Flag"
   ARET2INC "Income From Retirement, etc., Allocation Flag"
   AOTHINC  "Income From VA Payments, etc., Allocation Flag"
   FLGEDUC  "Level of School Completed Allocation Flag"
   RACE     "Race"
   WHITE    "White (pos 1-2)"
   BLACK    "Black or African American (pos 3-4)"
   NATIVE   "American Indian or Alaska native (pos 5-6)"
   CHINESE  "Chinese (pos 7-8)"
   FILIPINO "Filipino (pos 9-10)"
   KOREAN   "Korean (pos 11-12)"
   VIETNAME "Vietnamese (pos 13-14)"
   SE_ASIAN "Asian Indian, Pakistani, or Bangladeshi (pos 15-16)"
   OTH_ASIA "Other Asian (pos 17-18)"
   HAWAIIAN "Native Hawaiian (pos 19-20)"
   OTH_PACI "Other Pacific Islander (pos 21-22)"
.
VALUE LABELS
 RECTYPE
   2 "Person"  /
 BORO
   1 "Bronx"
   2 "Brooklyn"
   3 "Manhattan"
   4 "Queens"
   5 "Staten Island"  /
 SEX
   1 "Male"
   2 "Female"  /
 UF43
   90 "90 years and older"  /
 RELATION
   01 "Householder"
   02 "Husband,wife"
   03 "Son,daughter"
   04 "Brother,sister"
   05 "Father,mother"
   06 "Father-in-law,mother-in-law"
   07 "Grandchild"
   08 "Grandparent"
   09 "Other relative"
   10 "Roomer,boarder,foster child"
   11 "Unmarried partner"
   12 "Housemate,roommate"
   13 "Other nonrelative"  /
 HSPANIC
   1 "No"
   2 "Puerto Rican"
   3 "Dominican"
   4 "Cuban"
   5 "South,Central American"
   6 "Mexican, Mexican-American, Chicano"
   7 "Other Spanish,Hispanic"  /
 SPOUSE
   00 "No spouse,partner in household"  /
 PARENT1
   00 "No 1st parent in the household"  /
 PARENT2
   00 "No 2nd parent in the household"  /
 UF3
   0 "Yes, reason not reported"
   1 "Yes, because of affordability"
   2 "Yes, because of other reasons"
   3 "No"
   8 "Temporary residence status not reported"  /
 ITEM40A
   1 "Yes"
   2 "No"
   9 "Not applicable"  /
 ITEM40B
   97 "97 hours or more"
   99 "Not applicable"  /
 ITEM41
   1 "Yes, on layoff"
   2 "Yes, on vacation, temporary illness, etc."
   3 "No"
   9 "Not applicable"  /
 ITEM42
   1 "Yes"
   2 "No"
   9 "Not applicable"  /
 ITEM43
   01 "Believes no work available in line of work or area"
   02 "Could not find any work"
   03 "Lacks necessary schooling, training, skills or experience"
   04 "Employers think too young or too old"
   05 "Other personal handicap in finding a job"
   06 "Can't arrange child care"
   07 "Family responsibilities"
   08 "In school or other training"
   09 "Ill health, physical disability"
   10 "Retired"
   11 "Other"
   12 "Don't know"
   99 "Not applicable"  /
 ITEM44
   1 "2002"
   2 "2001"
   3 "1997-2000"
   4 "1996 or earlier"
   5 "Never worked"
   9 "Not applicable"  /
 ITEM45C
   1 "Manufacturing"
   2 "Wholesale trade"
   3 "Retail trade"
   4 "Other"
   9 "Not applicable"  /
 ITEM46A
   999 "Not Applicable"  /
 ITEM46B
   999 "Not Applicable"  /
 ITEM47
   1 "Private FOR PROFIT company, business, etc."
   2 "Private NOT-FOR-PROFIT, tax exempt, or charitable, etc.n"
   3 "Government-Federal"
   4 "Government-State or local"
   5 "Self employed in own business"
   6 "Working without pay in family business"
   9 "Not applicable"  /
 ITEM48A
   00 "None"
   52 "52 weeks"
   99 "Not applicable"  /
 ITEM48B
   97 "97 hours"
   98 "Not reported"
   99 "Not applicable"  /
 SALARY
   210000 "$210000: topcode amount"
   416973 "Mean amount above topcode"
   999999 "Not applicable"  /
 BUSINC
   275000 "$275000: topcode amount"
   690662 "Mean amount above topcode"
   999999 "Not applicable"  /
 INTINC
   080000 "$80000: topcode amount"
   163356 "Mean amount above topcode"
   999999 "Not applicable"  /
 RETINC1
   019000 "$19000: topcode amount"
   022901 "Mean amount above topcode"
   999999 "Not applicable"  /
 GOVTINC
   011800 "$11800: topcode amount"
   014687 "Mean amount above topcode"
   999999 "Not applicable"  /
 RETINC2
   048000 "$48000:topcode amount"
   065042 "Mean amount above topcode"
   999999 "Not applicable"  /
 OTHINC
   020000 "$20000: topcode amount"
   056256 "Mean amount above topcode"
   999999 "Not applicable"  /
 EDUCTN
   01 "No school completed"
   02 "Up to the 6th grade"
   03 "7th or 8th grade"
   04 "9th, 10th, 11th, or 12th grade but no H.S. Diploma"
   05 "H.S. Diploma"   
   06 "Some college but no degree"
   07 "Associate Degree"
   08 "College graduate"
   09 "Some graduate,professional training"
   10 "Graduate,professional degree"
   99 "Not applicable"  /
 UF41
   9999997 "$9,999,997 or more"
   9999999 "Not applicable"  /
 UF41A
   0 "no topcoded values or under 15 years old"
   1 "includes one or more topcoded values"  /
 UF44
   0 "No loss or under 15 years old"
   1 "Loss reported"  /
 UF45
   0 "No loss or under 15 years old"
   1 "Loss reported"  /
 LFS
   1 "In labor force-employed or in armed forces"
   2 "In labor force-unemployed"
   3 "Not in labor force"
   5 "Under 15 years old"  /
 CHKG
   1 "15 years or older"
   2 "Under 15 years"  /
 PW  /
 FLGSX
   1 "Allocated"
   0 "Not allocated"  /
 FLGAG
   1 "Allocated"
   0 "Not allocated"  /
 FLGHS
   1 "Allocated"
   0 "Not allocated"  /
 FLGRC
   1 "Allocated"
   0 "Not allocated"  /
 A1A40A
   1 "Allocated"
   0 "Not allocated"  /
 A1A40B
   1 "Allocated"
   0 "Not allocated"  /
 A1A41
   1 "Allocated"
   0 "Not allocated"  /
 A1A42
   1 "Allocated"
   0 "Not allocated"  /
 A1A43
   1 "Allocated"
   0 "Not allocated"  /
 A1B44
   1 "Allocated"
   0 "Not allocated"  /
 A1B45C
   1 "Allocated"
   0 "Not allocated"  /
 A1B46A
   1 "Allocated"
   0 "Not allocated"  /
 A1B46B
   1 "Allocated"
   0 "Not allocated"  /
 A1B47
   1 "Allocated"
   0 "Not allocated"  /
 A1B48A
   1 "Allocated"
   0 "Not allocated"  /
 A1B48B
   1 "Allocated"
   0 "Not allocated"  /
 A2SALARY
   1 "Allocated"
   0 "Not allocated"  /
 A2BUSINC
   1 "Allocated"
   0 "Not allocated"  /
 AINTINC
   1 "Allocated"
   0 "Not allocated"  /
 ARET1INC
   1 "Allocated"
   0 "Not allocated"  /
 AGOVTINC
   1 "Allocated"
   0 "Not allocated"  /
 ARET2INC
   1 "Allocated"
   0 "Not allocated"  /
 AOTHINC
   1 "Allocated"
   0 "Not allocated"  /
 FLGEDUC
   1 "Allocated"
   0 "Not allocated"  /
 WHITE  
   01 "White: positions 1-2"  /
 BLACK  
   02 "Black or African American: positions 3-4"  /
 NATIVE  
   03 "American Indian or Alaska native: positions 5-6"  /
 CHINESE  
   04 "Chinese: positions 7-8"  /
 FILIPINO  
   05 "Filipino: positions 9-10"  /
 KOREAN  
   06 "Korean: positions 11-12"  /
 VIETNAME  
   07 "Vietnamese: positions 13-14"  /
 SE_ASIAN
   08 "Asian Indian, Pakistani, or Bangladeshi: positions 15-16"  /
 OTH_ASIA
   09 "Other Asian: positions 17-18"  /
 HAWAIIAN
   10 "Native Hawaiian: positions 19-20"  /
 OTH_PACI
   11 "Other Pacific Islander: positions 21-22"/

.
*freq vars = rectype to chkg, flgsx to oth_paci.
save outfile="uf_02_per.sav".