Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What would you change about your job?

2384


AE datasets names? how many types?

2494


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

2749


what is the effect of the options statement errors=1? : Sas programming

1054


how does sas handle missing values in sort order? : Sas programming

913


Explain why double trailing @@ is used in input statement?

1055


What are the functions which are used for character handling functions?

1137


What Proc glm does?

1077


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1879


How would you invoke a macro? : sas-macro

1112


Explain the purpose of retain statement.

1047


how does sas handle missing values in a merge? : Sas programming

1042


How necessary is it to be creative in your work?

2471


What can you learn from the SAS log when debugging?

1371


what is the difference between floor and ceil functions in sas? : Sas-administrator

1250