| Date: | Wed, 11 Jul 2001 13:55:34 GMT |
| Reply-To: | Simpabimpa <simpabimpa@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Simpabimpa <simpabimpa@HOTMAIL.COM> |
| Subject: | Re: Question on Duplicates... |
|---|
Hi!
Here's one way of doing it. Not sure it's the best way but it works. :)
//Simon
/******************************/
data a;
input nr;
cards;
1
3
4
;
run;
data b;
input nr;
cards;
2
4
;
run;
data foo;
merge a(in=ina) b(in=inb);
by nr;
if ina and inb;
run;
/*******************************/
smg1get@UPS.COM (TIEDENS GARY smg1get) wrote in
news:177CDFBDC421D4119F1B0008C7CFA22F0560D5AD@02usnjrarps1c30.win.us.ups.c
om:
> Hello all,
>
> I am producing a report and I have duplicates within the report. Is
> there a way that I can have just the duplicate observations spun out to
> one output dataset.
|