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
Describe a time when you were really stuck on a problem and how you solved it?
What are the default statistics that proc means produce?
List down the reasons for choosing sas over other data analytics tools.
Briefly explain input and put function?
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
What are SAS/ACCESS and SAS/CONNECT?
What are the special input delimiters used in SAS?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
Explain bmdp procedure?
how many types of prompts are there? : Sas-bi
what is program data vector? : Sas-administrator
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
what is information maps?
what is SAS OPTIMIZATION?