LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 8 Jul 2008 07:52:37 -0400
Reply-To:     Jan Sunde <jan.sunde@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Jan Sunde <jan.sunde@GMAIL.COM>
Subject:      Re: Update info in data set based on other data set

Sorry about my delay in answering. I want to thank you all for the solutions proposed on this list. Contrary to my previous statement, they DID work! The culprit was the DATE variable in my data set that hadn't been set properly in the previous step and thus came up empty. No wonder the query came up empty.....Typical example of PEBKAC (Problem Exists Between Keyboard And Chair)

Btw, the sub-query solutions were *far* less efficient than using the concatenated variable CATS(id||date) for lookup (proposed by Ian), especially with a data set of close to 700k observations! I chose to go with that solution, elegant and definitely something I will adapt to other use.

Thanks to all of you, especially Mary and Ian who seem to have been the most eager contributors :)

Jan (eager to learn more SAS programming)


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