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
Tell e how how dealt with..
how to debug and test the sas program? : Sas-administrator
List out some key concept of SAS
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
What do you code to create a macro? : sas-macro
what is data integration? : Sas-di
What is the good sas programming practices for processing large data sets?
What are pdv and it functions?
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
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
For what purposes have you used sas macros? : sas-macro
What are the new features included in the new version of SAS Programming Language?
What are the ways in which macro variables can be created in sas programming?
Can you execute a macro within a macro? Describe. : sas-macro