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

What are the new features included in the new version of SAS Programming Language?

1166


what can you learn from the sas log when debugging? : Sas programming

1043


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1637


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1575


What are the applications primarily used by business analyst? : Sas-bi

954


how do you test for missing values? : Sas programming

1020


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

2138


Approximately what date is represented by the SAS date value of 730?

1176


What system options would you use to help debug a macro? : sas-macro

1068


What is the order of application for output data set options, input data set options and SAS statements?

1512


what is the use of proc sql? : Sas programming

1076


What is the use of PROC gplot?

1078


Explain bmdp procedure?

995


What are common programming errors committed in sas

1112


Explain how you can debug and test your SAS program?

961