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 (June 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 24 Jun 2002 12:15:50 -0400
Reply-To:     Charles Patridge <Charles_S_Patridge@PRODIGY.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Charles Patridge <Charles_S_Patridge@PRODIGY.NET>
Subject:      Re: Caution when using the RETAIN statement??!
Comments: To: Simon Gillow <Simon.Gillow@BBG.CO.UK>

Simon,

If you took "check" out of the RETAIN statement then you should get the results you expected.

By having "check" as part of the retain statement, you specifically are requesting SAS to "retain" the last non-missing value for "check" which is why you are getting "London" or "Toyko" when value equals "New York".

HTH,

Charles Patridge Email: Charles_S_Patridge@prodigy.net Web: http://www.sconsig.com


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