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

What is the difference between nodupkey and nodup options?

969


explain about data integrator metadata reports? : Sas-di

1034


What are the functions used for character handling?

1173


What are the ways in which macro variables can be created in sas programming?

1028


what is proc Index? and what is proc document?

2628


What is a put statement?

1138


what has been your most common programming mistake? : Sas programming

1027


What do you know about sas and what we do? : sas-grid-administration

1047


What is the difference between %put and symbolgen? : sas-macro

1158


what is information maps?

2151


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

1105


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

1035


How can you limit the variables written to output dataset in data step?

1246


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

1295


what are _numeric_ and _character_ and what do they do? : Sas programming

1101