Date: Thu, 16 Dec 2004 13:26:05 -0600
Reply-To: "Dunn, Toby" <Toby.Dunn@TEA.STATE.TX.US>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Dunn, Toby" <Toby.Dunn@TEA.STATE.TX.US>
Subject: Re: Help with datastep..
Content-Type: text/plain; charset="US-ASCII"
Kumar,
Simplest way I can think of is like the following:
Data one;
merge original_data
new_update_data ;
by personid ;
Run;
This assumes that the new_update_data has all the same variables as
original_data.
HTH
Toby Dunn
"It's OK to figure out murder mysteries, but you shouldn't need to
figure out code. You should be able to read it." -Steve C McConnell
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On
> Behalf Of Sridhar, Kumar
> Sent: Thursday, December 16, 2004 1:10 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Help with datastep..
>
>
> Hi Y'all:
>
> I am trying to do the following:
>
> Patients come in for Screening and some of them are required
> to come in for Repeat Screening. In the event the patient is
> required to come in for a repeat screening, the screening
> values are to be "deleted" and the Repeat Screening to be
> used as Screening.
>
>
> At this point, I am at a loss as to how to go about doing
> this. Any help would be greatly appreciated.
>
> TIA
>
> Kumar
>
|