how to assign a macro value to a variable?
Answer Posted / ganesh k
if it is a Char then Variable="&MacroVar.";
if it is a Numaric then Variable=%eval(&MacroVar.) or %
sysevalf(&MacroVar.);
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the differnce between SDTM 3.1.2 to 3.1.1 version
How do you delete duplicate observations in sas?
what is hierarchy flattening? : Sas-di
Have you ever used the SAS Debugger?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
What is a put statement?
How long can a macro variable be? A token? : sas-macro
State the difference between INFORMAT and FORMAT ?
explain about various caches available in data integrator? : Sas-di
Mention what is the difference between nodupkey and nodup options?
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? : sas-macro
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
do you need to know if there are any missing values? : Sas programming
What is the difference between INPUT and INFILE ?
how to read the variables in sas? : Sas-administrator