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
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What are pdv and it functions?
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 ...
what are informats in sas? : Sas-administrator
How to convert a numeric variable to a character variable?
What makes sas stand out to be the best over other data analytics tools?
Which command is used to perform sorting in sas program?
What is a pdv and what are its functions?
Name any two sas spawners? : sas-grid-administration
how do the in= variables improve the capability of a merge? : Sas programming
describe about metadata object? : Sas-di
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
Give e an example of..
What are common programming errors committed in sas
Mention what is SAS data set?