What is the difference Using & and && in the macro variables
Answer Posted / naga
& is used to resolve the direct macro reference.
&& is used to resolve the indirect macro reference.
for example let us assume we need to resolve city1 to banglore
%let &city&n /*incorrect*/
%let &&city&n /*correct*/
| Is This Answer Correct ? | 20 Yes | 1 No |
Post New Answer View All Answers
what are some differences between proc summary and proc means? : Sas programming
Describe what are the different levels of administrative users in sas? : sas-grid-administration
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
how would you create multiple observations from a single observation? : Sas programming
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
How would you determine the number of missing or nonmissing values in computations?
what is study design in while working with SAS? what are screening variables in SAS?
What is the use of divide function?
what is data governance? : Sas-di
What do the PUT and INPUT functions do?
How would you identify a macro variable? : sas-macro
what are 5 ways to perform a table lookup in sas? : Sas-administrator
How many data types are there in SAS?