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 your favorite all time computer book? Why?
what is hierarchy flattening? : Sas-di
What are the differences between sum function and using “+” operator?
What does P-value signify about the statistical data?
What is the sas data set? : sas-grid-administration
what can you learn from the sas log when debugging? : Sas programming
what are the best practices to process the large data sets in sas programming? : Sas-administrator
Which function is used to count the number of intervals between two sas dates?
What do you know about sas and what we do? : sas-grid-administration
What do the PUT and INPUT functions do?
To what type of programms have you used scratch macros?
Explain bmdp procedure?
what is sas enterprise intelligence architecture? : Sas-bi
What are the features of base sas system?
Name and describe few sas character functions that are used for data cleaning in brief.