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

If a variable contains only numbers, can it be a character data type?

1036


what do the pad and dim functions do? : Sas programming

963


what are some good sas programming practices for processing very large data sets? : Sas programming

879


What are the features of base sas system?

1017


how does sas handle missing values in functions? : Sas programming

1123


What is your favorite all time computer book? Why?

2455


why is sas considered self-documenting? : Sas programming

1083


Explain the main difference between the sas procedures and functions? : Sas-administrator

1015


What is by-group processing?

947


How will you generate test data with no input data?

1107


What are the special input delimiters used in SAS?

1103


Given an unsorted data set, how to read the last observation to a new data set?

1289


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

1279


what is business intelligence? : Sas-bi

1014


What do the PUT and INPUT functions do?

1271