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
Describe crosslist option in tables statement?
What is the command used to find missing values?
How to specify variables to be processed by the freq procedure?
What does P-value signify about the statistical data?
What are the statements that are executed only?
Explain proc univariate?
how does sas handle missing values in formats? : Sas programming
How can I remove header from output data set?
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
what is hierarchy flattening? : Sas-di
Which date function advances a date, time or datetime value by a given interval?
what is the difference between floor and ceil functions in sas? : Sas-administrator
explain about various caches available in data integrator? : Sas-di
what is treatment emergent events and treatment emregent adverse event
How do you connect the desktop application to metadata server? : sas-grid-administration