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 / 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 |
What is the difference between proportion and average?
What can you learn from the SAS log when debugging?
Given an unsorted data set, how to read the last observation to a new data set?
There is a river notoriously known for it?s large crocodile population. With ease, how do you safely cross it?
What are the statements that are executed only?
What are pdv and it functions?
What is the purpose of using the N=PS option?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
How do you write a test plan?
what is the basic structure sas administrator? : Sas-administrator
how do u validate the program which u have written.
how would you determine the number of missing or nonmissing values in computations? : Sas programming