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

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

843


What are the 3 components in sas programming?

962


what are 5 ways to perform a table lookup in sas? : Sas-administrator

1027


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

801


What is the difference between proportion and average?

3049


AE datasets names? how many types?

2288


Compare sas with other data analytics tools.

832


What is the good sas programming practices for processing large data sets?

903


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

826


what is sas metadata repository? : Sas-bi

865


What is Linear Regression?

916


how do you want missing values handled? : Sas programming

744


Explain the use of proc gplot? : sas-grid-administration

798


what are informats in sas? : Sas-administrator

827


How does proc sql work?

861