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 12:57:33 -0500
Reply-To:     Nat Wooding <nathani@VERIZON.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nat Wooding <nathani@VERIZON.NET>
Subject:      Re: If VARIABLE Does Not Exist Then Do...
In-Reply-To:  <BLU152-w16F2CF4AB1178E1E040A28DE3F0@phx.gbl>
Content-Type: text/plain; charset="US-ASCII"

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