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

How is character variable converted into numeric variable and vice versa?

1106


explain the use of % includes a statement in sas? : Sas-administrator

944


Did you used proc test? when?

1981


How does the internal authentication work in sas? : sas-grid-administration

1066


What is the difference between order and group variable in proc report?

1364


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

2436


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

981


what are informats in sas? : Sas-administrator

1015


State the difference between INFORMAT and FORMAT ?

1039


Mention what are the data types does SAS contain?

1092


what are sas/access and sas/connect? : Sas programming

941


What is the difference between proportion and average?

3266


What is interleaving in SAS?

1063


In sas, what are the areas that you are most interested in? : sas-grid-administration

1021


Can you execute macro within another macro? : sas-macro

936