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 is the basic syntax of a sas program?

1191


What are the applications primarily used by business analyst? : Sas-bi

992


explain the difference between proc means and proc summary?

1116


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1160


Explain proc univariate?

1026


How will you generate test data with no input data?

1165


explain the function of substr in sas? : Sas-administrator

1008


explain about sas business intelligence? : Sas-bi

1135


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

1267


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

1083


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2710


What is the general format of function in sas? : sas-grid-administration

969


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

1147


What versions of SAS have you used (on which platforms)?

1506


What is the role of unrestrictive users? : sas-grid-administration

1000