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 (September 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 6 Sep 2007 15:38:29 -0400
Reply-To:     Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:      Re: sas absolute value function
Comments: To: Duo Wan <duo_wan@YAHOO.COM>

Vincent,

Where are you trying to use it? As you can test, from the following, it can be used at least in some places outside of a datastep:

data test; input x; cards; 1 -3 -5 2 -4 ; proc print data=test (where=(abs(x) gt 2)); run;

Art ---------- On Thu, 6 Sep 2007 12:12:07 -0700, duo wan <duo_wan@YAHOO.COM> wrote:

>Hi All, > > Is there any sas function for absolute value which can be used outside data step? abs() can only be used data step. > > thanks, > > Vincent > > >--------------------------------- >Luggage? GPS? Comic books? >Check out fitting gifts for grads at Yahoo! Search.


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