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
Are you involved in writing the inferential analysis plan? Tables specfications?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
What are the different versions of sas that you have used until now? : sas-grid-administration
Define run-group processing?
How do you delete duplicate observations in sas?
Explain substr function?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
How would you define the end of a macro? : sas-macro
Tell me more about the parameters in macro? : sas-macro
What is by-group processing?
What is the difference between SAS functions and procedures?
How you can read the variables that you need?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
what is sas and what are the functions? : Sas-administrator