how we can create optional or required parameters in SAS
macro...
Answer Posted / ak
%macro Mtest (mvar);
here its required parameter.
----------------------------------------------
%macro Mtest(mvar1=abc);
.....
sas statements using macro variable mvar1
here mvar1 can be optional while calling macro Mtest
if parameter value is not send then it takes default value
as abc
.....
%mend;
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
What is the use of %include statement?
How would you identify a macro variable?
Explain proc sort?
What system options would you use to help debug a macro? : sas-macro
What are the functions used for character handling?
What is the role of unrestrictive users? : sas-grid-administration
where to use sas business intelligence? : Sas-bi
For what purposes have you used sas macros? : sas-macro
How necessary is it to be creative in your work?
How long can a macro variable be? A token? : sas-macro
Difference between informat and format?
What is the difference between input and infile statement?
What Proc glm does?
What are the differences between sum function and using “+” operator?
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma