home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: bit.listserv.sas-l
- Path: sparky!uunet!world!shoe
- From: shoe@world.std.com (Jack N Shoemaker)
- Subject: Simple Question for SAS Expert
- Message-ID: <SHOE.92Sep3145851@world.std.com>
- Sender: shoe@world.std.com (Jack N Shoemaker)
- Organization: The World Public Access UNIX, Brookline, MA
- Date: Thu, 3 Sep 1992 19:58:51 GMT
- Lines: 14
-
- I have a data set with four character variables, NAME1 - NAME4. I would like
- to flag any obvervation where the value of these variables repeat. For
- example,
-
- NAME1 NAME2 NAME3 NAME4 FLAG
- abc def ghi jkl 0 <-- Flag = 0 becuase no repeating values.
- abc def abc xyz 1 <-- Flag = 1 becuase 'abc' repeats.
-
- Multiple missing values don't count. TIA - Jack
- --
- Jack Shoemaker
- Real Decisions Corporation Voice: 203-656-1500
- Darien, CT 06820 InterNet: shoe@world.std.com
-
-