Can you use a macro within another macro? If so how would
SAS know where the current acro ended and the new one
began?
Answer Posted / kiran
Yes, we can use a macro with in another macro
for example:
%MACRO REPORT; ---MACRO
statement 1;
statement 2;
....
....
%MACRO REPORT1();--BEGINING OF NEW MACRO "REPORT 1" WITH
IN "REPORT" MACRO
%MEND REPORT1;---STATEMENT TO TELL THE END OF REPORT1 MACRO
%MEND REPORT;----STATEMENT TO TELL THE END OF REPORT MACRO
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is treatment emergent events and treatment emregent adverse event
why is sas data integration studio important? : Sas-di
what are input dataset and output dataset options? : Sas programming
How do dates work in SAS data?
What are the table names in oracle database...?
What are pdv and it functions?
What is the role of unrestrictive users? : sas-grid-administration
Do you know the features of sas?
What are the prime responsibilities of data integration administrator? : Sas-di
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
Difference between SAS STATA & SPSS?
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
how do you pull data from equifax?tell me the process?
Give some examples where proc report’s defaults are same as proc print’s defaults?
what is the Population you used in your project, is it ITT or PP?