Assigns a new value to a specified variable.
Category: | Manipulating DATA Step Variables |
Alias: | None |
specifies the name of a DATA step variable or an array reference.
is any debugger expression.
Tip | expression can contain the variable name that is used on the left side of the equal sign. When a variable appears on both sides of the equal sign, the debugger uses the original value on the right side to evaluate the expression and stores the result in the variable on the left. |
set a=3
12345
concatenated
with the previous value of B: set b='12345' || b
set arr{1}=a+3
set crr{1,2,3} = crr{1,1,2} + crr{1,1,3}
set a=a+c*3