SAS Certified Adv Programmer 50 Questions (26)
The following SAS program is submitted:
%let mvar=bye; data _null_; var1='hi'; var2='hello'; call symput('var1' || "&mvar", var2); run;
Which one of the following is the name of the macro variable created by the CALL SYMPUT statement?
a. var1
b. hibye
c. var1bye
d. No macro variable is created because the CALL SYMPUT statement is not valid.
Topics:
SAS Adv Questions |
2 Comments »
C
C:
%put _user_;
GLOBAL MVAR bye
GLOBAL VAR1BYE hello