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...

how to assign a macro value to a variable?

Answer Posted / cool dude

Creating a Macro.

%Let a='City';

Assigning the macro value of a (which is 'City') to variable.

Data _null_;
b=&a;
put b= ;
run;

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you define the end of a macro?

1081


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1356


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

1066


Can you explain the process of calendar?

1108


Explain the use of proc print and proc contents?

955


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

1331


Briefly explain input and put function?

1071


what is proc Index? and what is proc document?

2709


name some data transformation used in sas di? : Sas-di

961


What is the difference between %local and %global? : sas-macro

1174


How do you debug and test your SAS programs?

1549


what is intially documentation in sas?

5032


explain about various caches available in data integrator? : Sas-di

1038


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

1051


What is the SAS data set?

1123