
147
9
Data Step Functions
9.1 Introduction to Functions and CALL Routines
SAS
®
functions and built-in CALL routines perform data manipulation,
mathematical calculations, and descriptive statistical computations on
argument(s) typically supplied by the user. SAS functions return a single
value that can be used in an assignment statement or in additional expressions
within the DATA step. In contrast, a CALL routine does not return a value;
instead, it only alters the values of its argument. You cannot use a CALL
routine in an assignment statement or in an expression.
As of the 9.2 release, SAS provides over 500 functions and CALL routines.
Compare ...