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 (November 2010, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 24 Nov 2010 21:53:10 -0200
Reply-To:     Adriano Rodrigues <adriano@GPP.COM.BR>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Adriano Rodrigues <adriano@GPP.COM.BR>
Subject:      Re: If VARIABLE Does Not Exist Then Do...
Comments: To: Nat Wooding <nathani@verizon.net>
In-Reply-To:  <52BCFA1ED9FD4F38A4DE2F5AAC102936@D1871RB1>
Content-Type: text/plain; charset=ISO-8859-1

why sas put this value (99) for the variables?

2010/11/24 Nat Wooding <nathani@verizon.net>

> If you move Toby's retain statement so that it appears before the set > statement, then the variables will be in alphabetic order. > > Nat Wooding > > > Data One ; > Input a b d e g ; > Cards ; > 1 2 3 4 5 > 1 2 3 4 5 > 1 2 3 4 5 > 1 2 3 4 5 > 1 2 3 4 5 > ; > Run ; > > Data Need ; > Retain a b c d e f g 99 ;** new location; > Set One ; > > Run ; > > Proc Print > Data = Need ; > Run ; >


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