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


Please Help Members By Posting Answers For Below Questions

What are the difficulties u faced while doing vital signs table or dataset?

1920


Where do you use proc means over proc freq?

553


what is program data vector? : Sas-administrator

606


what is the Population you used in your project, is it ITT or PP?

2171


What are the different versions of sas that you have used until now? : sas-grid-administration

721






How do you delete duplicate observations in sas?

563


What are the different types of sas functions?

601


In ARRAY processing, what does the DIM function do?

703


Explain data step in SAS

620


What does the trace option do?

658


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?

1933


What is the use of function Proc summary?

644


For clinical entire study how many tables will create approx?

1512


why is a stop statement needed for the point=option on a set statement? : Sas programming

579


Which statement does not perform automatic conversions in comparisons?

1192