LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (December 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 16 Dec 2004 13:43:30 -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"

I also guess you could do it this way:

data four; set one; set two; run;

Not sure if it will be faster than a merge.

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 Dunn, Toby > Sent: Thursday, December 16, 2004 1:26 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Re: Help with datastep.. > > > 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 > > >


Back to: Top of message | Previous page | Main SAS-L page