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 |
How can you create a macro variable with in data step? : sas-macro
What are the five ways to do a table lookup in sas? : sas-grid-administration
Difference between sum function and using “+” operator?
Name statements that are recognized at compile time only?
I have a dataset with variables empid and doj how to calculate retirement age?
How would you keep from overlaying the a SAS set with its sorted version?
what is Global Symbol table and Local symbol table?
what are several options for creating reports in web report studio? : Sas-bi
Can we replace a dataset into view?
How to specify variables to be processed by the freq procedure?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
how do we mail reports from SAS environment to our team leader