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
Differentiate between format and informat? : sas-grid-administration
How can you limit the variables written to output dataset in data step?
List down the reasons for choosing sas over other data analytics tools.
What are the functions used for character handling?
what are the considerations when picking a SAS/STAT procedure?
what is intially documentation in sas?
Are you involved in writing the inferential analysis plan? Tables specifications?
Describe the ways in which you can create macro variables? : sas-macro
How would you include common or reuse to be processed along with your statements?
If you could design your ideal job, what would it look like?
What is SAS informats?
how will you location sas platform applications available from web browser? : Sas-bi
Explain why double trailing @@ is used in input statement?
Explain the difference between nodup and nodupkey options?
How do you use the do loop if you don’t know how many times you should execute the do loop?