Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1766


What is the difference between reading data from an external file and reading data from an existing data set?

1188


what are 5 ways to perform a table lookup in sas? : Sas-administrator

1242


Tell e how how dealt with..

2231


What do you code to create a macro? : sas-macro

1150


What versions of SAS have you used (on which platforms)?

1519


name some data transformation used in sas di? : Sas-di

975


What is the basic syntax of a sas program?

1223


What are SAS/ACCESS and SAS/CONNECT?

1152


what is the use of proc sql? : Sas programming

1141


what are the component of range? : Sas-bi

1103


What do you know about sas data set?

1126


How substr function works in sas?

1228


What are the ways to do a “table lookup” in sas?

1035


For clinical entire study how many tables will create approx?

1977