|
Hi Vincent,
If a macro variable is an acceptable
environmental place to hold the value
then you will like knowing that the
%SYSFUNC() function allows resolution
of most of the datastep functions into
the macro world outside of the datastep.
e.g.
%let myVar=%sysfunc(abs(-3));
%put myVar is >&myVar<;
Hope this is helpful.
Mark Terjeson
Senior Programmer Analyst, IM&R
Russell Investments
Russell Investments
Global Leaders in Multi-Manager Investing
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of duo
wan
Sent: Thursday, September 06, 2007 12:12 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: sas absolute value function
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.
|