| Date: | Sun, 30 Oct 2005 06:12:28 -0500 |
| Reply-To: | Mehdi Soleymani <mehdi_soleymani@SOFTHOME.NET> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Mehdi Soleymani <mehdi_soleymani@SOFTHOME.NET> |
| Subject: | Re: A complicated data management problem |
|---|
hi again,
if you want the same output as you wrote you can use the follwing code on
temp data which I wrote you before
proc report data=temp out=final(drop=_break_) nowd;
column id n1 l11 date n2 l12 l21 ;
define id /group;
run;
data final;
set final;
if l21=. then l21=l11;
if n1=. then n1=n2;
run;
|