If you need the value of a variable rather than the
variable itself what would you use to load the value to a
macro variable?
Answer Posted / yuyin
a=123;
call symput("x",a);
a is a variable, 123 is the value of variable a, x is macro
variable, symput will assign 123 to macro variable x.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is the different between functions and PROCs that calculate the same simple descriptive statistics?
Describe the ways in which you can create macro variables? : sas-macro
How do you debug and test your SAS programs?
What are all the problems you faced while validating tables and reports?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
what are validation tools that are used in sas? : Sas-administrator
List out some key concept of SAS
how does sas handle missing values in assignment statements? : Sas programming
Intern stastical programmer written test
Describe what are the different levels of administrative users in sas? : sas-grid-administration
What was the last computer book you purchased? Why?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
What are the implications?
In proc transpose and data step with arrays which one you pick?
What sas features do you use to check errors and data validation?