adspace


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

Answer Posted / Shivani Agarwal

Yes, as mentioned in QNO 295047, it is possible to nest macros. To differentiate between the end of one macro and the start of another, SAS uses the semicolon (;) after the outer macro's code before invoking the inner macro.nnFor example:nn %macro outter_macro;n ...n %inner_macro;n ...n %mend outter_macro;nn %macro inner_macro;n ...n %mend inner_macro;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

2161


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

2186


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2132


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

2324


how to generate the test data in sas without input data? : Sas-administrator

1214


Hi, If anyone has base SAS certification dumps, please share.

1951


Are you involved in writing the inferential analysis plan? Tables specifications?

4029


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3676