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 would you include common or reuse code to be processed
along with your statements?

Answer Posted / selvi

We can code the resusable as seperate macro. And will call
into SAS program where ever there is a need.
Macro should start with %macro macroname(), and end with %
mend.
Syntax for call in datastep-%macroname

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

1084


What are pdv and it functions?

1055


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

1360


what are informats in sas? : Sas-administrator

1031


How to convert a numeric variable to a character variable?

1149


What makes sas stand out to be the best over other data analytics tools?

1015


Which command is used to perform sorting in sas program?

998


What is a pdv and what are its functions?

1063


Name any two sas spawners? : sas-grid-administration

994


how do the in= variables improve the capability of a merge? : Sas programming

1406


describe about metadata object? : Sas-di

1017


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

993


Give e an example of..

2046


What are common programming errors committed in sas

1109


Mention what is SAS data set?

1100