Previous PageNext Page

Chapter 5: Functions

Functions may be used to transform variable values. Recall from Chapter 2 that the syntax of a function call in the data step is as follows:

SAS functions (data step expressions)
function-name (argument-1, [... argument-2] )
The parentheses are required.

Note that you can use a function call anywhere where an expression is permitted. The most common place to use a function call is in an assignment statement.

Previous PageTable Of ContentsNext Page