how to assign a macro value to a variable?
Answer Posted / cool dude
Creating a Macro.
%Let a='City';
Assigning the macro value of a (which is 'City') to variable.
Data _null_;
b=&a;
put b= ;
run;
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is the difference between nodupkey and nodup options?
explain about data integrator metadata reports? : Sas-di
What are the functions used for character handling?
What are the ways in which macro variables can be created in sas programming?
what is proc Index? and what is proc document?
What is a put statement?
what has been your most common programming mistake? : Sas programming
What do you know about sas and what we do? : sas-grid-administration
What is the difference between %put and symbolgen? : sas-macro
what is information maps?
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
why is a stop statement needed for the point=option on a set statement? : Sas programming
How can you limit the variables written to output dataset in data step?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
what are _numeric_ and _character_ and what do they do? : Sas programming