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

Give an example where SAS fails to convert character value to numeric value automatically?

1089


What commands are used in the case of including or excluding any specific variables in the data set?

1097


How to create list output for cross-tabulations in proc freq?

1114


Give e an example of..

2344


what is study design in while working with SAS? what are screening variables in SAS?

2242


describe how to adjust the performance of data integrator? : Sas-di

1008


how can you import .csv file in to sas? : Sas programming

1099


What is interleaving in SAS?

1114


what is slowly changing dimension? : Sas-di

1128


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1048


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

2745


If a variable contains letters or special characters, can it be numeric data type?

1213


How to create an external dataset with sas code?

1158


what is the difference between infile and input? : Sas-administrator

1144


What are the different types of sas functions?

1285