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 we can call macros with in data step?

Answer Posted / net_ameen

Call Execute() is used to call Macro aswellas call macro variable eg: Call execute ('%macroname');
Call execute ('&macrovarname');

Call Symput() is used to create a Global macro variable from within a datastep.

Symget() is used to call a macro variable and assign its value to a datastep variable.

%include() is not a macro statement yet used to call either a macro, extn file containing codes or proc/datastep within a program to be executed together.

Resolve() is used to resolve macro variables created thru call symput within same datastep.

Hope this helps. If any argument pls post.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What areas of SAS are you most interested in?

1578


How would you define the end of a macro?

1145


What are the 3 components in sas programming?

1238


for what purpose would you use the retain statement? : Sas programming

1143


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

2154


How sas treats the dsd delimiters?

1260


Describe a time when you were really stuck on a problem and how you solved it?

2678


List down the reasons for choosing sas over other data analytics tools.

1329


What does PROC print, and PROC contents do?

1275


what is the use of proc sql? : Sas programming

1185


Describe the ways in which you can create macro variables?

1249


how many types of prompts are there? : Sas-bi

1123


what is broad cast agent? : Sas-bi

1117


How long can a macro variable be? A token? : sas-macro

1255


What are the difference between sas functions and procedures?

1200