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 (May 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 18 May 2007 04:32:59 -0700
Reply-To:   Yiyu <shenyiyu@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Yiyu <shenyiyu@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: A tricky problem using retain and by
Comments:   To: sas-l@uga.edu
In-Reply-To:   <JHEEIGIGFPGACEGDPJMGEEGAJIAA.bardos2@ansys.ch>
Content-Type:   text/plain; charset="iso-8859-1"

Robert, thanks for your advice. I have been strugling with this hash thing for all night and won't go to bed until getting some workable code. The strategy I am thinking about now is to do everything in hash table. So for each by group I will build an old hash table and a new hash table, I use the old hash table to get the total porfolio value and then go through the group's members to compare and enter each into the new hash table. When reaching the end of the group I will replace the old hash table with the new one. I hope this works.

Yiyu

On May 18, 4:27 am, bard...@ANSYS.CH (Robert Bardos) wrote: > > I also suspect hash object should be the correct > > solution but I never coded it before. > > Some example code will be really helpful. > > Nor did I (code hash objects before). But hey, what an occasion to > teach someone to fish! > > Goto http://www.lexjansen.com/sugi/ > > and enter 'hash' in the 'Search SUGI papers' field. > Lots of excellenct information there. > > Kind regards > > Robert Bardos > Ansys AG, Zurich, Switzerland


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