How can you assign a value from a datastep to a macro variable?
-
Using Symget function
-
Using Symput function
-
Using Assign function
-
Using Sysfunc function
B
Correct answer
Explanation
The SYMPUT function is used to assign a DATA step value to a macro variable (CALL SYMPUT or %SYMPUT). SYMGET does the reverse (retrieves macro variable value). There is no ASSIGN function in SAS. SYSFUNC is used within macro to execute SAS functions.