home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / bit / listserv / sasl / 4059 < prev    next >
Encoding:
Text File  |  1992-09-03  |  848 b   |  25 lines

  1. Newsgroups: bit.listserv.sas-l
  2. Path: sparky!uunet!world!shoe
  3. From: shoe@world.std.com (Jack N Shoemaker)
  4. Subject: Simple Question for SAS Expert
  5. Message-ID: <SHOE.92Sep3145851@world.std.com>
  6. Sender: shoe@world.std.com (Jack N Shoemaker)
  7. Organization: The World Public Access UNIX, Brookline, MA
  8. Date: Thu, 3 Sep 1992 19:58:51 GMT
  9. Lines: 14
  10.  
  11. I have a data set with four character variables, NAME1 - NAME4.  I would like
  12. to flag any obvervation where the value of these variables repeat.  For
  13. example,
  14.  
  15. NAME1 NAME2 NAME3 NAME4 FLAG
  16. abc   def   ghi   jkl   0       <-- Flag = 0 becuase no repeating values.
  17. abc   def   abc   xyz   1       <-- Flag = 1 becuase 'abc' repeats.
  18.  
  19. Multiple missing values don't count.  TIA - Jack
  20. -- 
  21. Jack Shoemaker
  22. Real Decisions Corporation    Voice: 203-656-1500
  23. Darien, CT  06820          InterNet: shoe@world.std.com
  24.  
  25.