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 (March 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 26 Mar 2008 09:23:19 -0700
Reply-To:   "dc353@hotmail.com" <dc353@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "dc353@hotmail.com" <dc353@HOTMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: RETAIN Statement --> strange behavior
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

On Mar 26, 6:48 pm, yingtao...@GMAIL.COM (yingtao) wrote: > Try this: > change startshare=startshare+endshare as > startshare=sum(startshare,endshare) > or startshare+endshare > I guess it may be caused by the missing value.

I tried startshare+endshare but that caused the same result -i.e. the retain statement not working -> startshare is always 0 so endshare is set to trade. Sum(A,b) may work. I'll try it and let you know.


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