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 program data vector (pdv)?
describe about physical data integration? : Sas-di
What is the maximum length of the macro variable?
Explain what is SAS informats?
What is the difference between match merge and one to one merge?
Differentiate between sas functions and sas procedures.
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Given an unsorted data set, how to read the last observation to a new data set?
What is PROC in SAS?
how do the in= variables improve the capability of a merge? : Sas programming
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
what is the basic structure sas administrator? : Sas-administrator
what is sas business intelligence? : Sas-bi
explain what is data set in sas? : Sas-administrator
Explain the purpose of retain statement.