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
How would you define the end of a macro?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
Can you explain the process of calendar?
Explain the use of proc print and proc contents?
What are the different versions of sas that you have used until now? : sas-grid-administration
Briefly explain input and put function?
what is proc Index? and what is proc document?
name some data transformation used in sas di? : Sas-di
What is the difference between %local and %global? : sas-macro
How do you debug and test your SAS programs?
what is intially documentation in sas?
explain about various caches available in data integrator? : Sas-di
Explain why double trailing @@ is used in input statement?
What is the SAS data set?