What is the difference Using & and && in the macro variables
Answer Posted / alla
when concatinating two macro variable
%let a=sai;
%let b=kumar;
%let &a &b;it resolves as sai kumar
if u want to remove the space b/t then use
%let &&a&b; it resolves as saikumar
when you use %let &a&b;resolves as &akumar
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
What are the difference between ceil and floor functions in sas?
what is data governance? : Sas-di
How can you limit the variables written to output dataset in data step?
What is the difference between nodupkey and nodup options?
Explain how merging helps to combine data sets.
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
explain about various caches available in data integrator? : Sas-di
What is program data vector (pdv)?
What is program data vector (pdv) and what are its functions?
Name types of category in which SAS Informats are placed?
What is the general format of function in sas? : sas-grid-administration
What Proc glm does?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
How would you identify a macro variable?