If Then Node
Use the If Then node to create an IF THEN expression in a process job. For more information about the tabs at upper left of this dialog, click the following links:
- If Then tab - Enables you to set up conditional processing in a simple or advanced editor. The Simple Editor contains elements for left-hand operand, operator, and right-hand operator. The Advanced Editor contains elements for functions and expression operators. For information about functions and expression operators, see SAS Expression Language Reference Guide.
Usage Notes
By default, incoming variables to the expressions that you create in this node are treated as string variables. If a string input does not suit your needs, you can use the SAS tointeger function to specify incoming variables as numeric. Here is an example of an expression that uses the tointeger function:
if tointeger(varname) > 10
dosomething
else
dosomethingelse