how we can create optional or required parameters in SAS
Answers were Sorted based on User's Feedback
Answer / ak
%macro Mtest (mvar);
here its required parameter.
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
|Is This Answer Correct ?||18 Yes||1 No|
Answer / shiri
using keyword and positional parameters.
|Is This Answer Correct ?||9 Yes||3 No|
Answer / sheetal
In macro definition you can create required parameters and
using %let or call symput you can create optional
parameters in sas macro
|Is This Answer Correct ?||2 Yes||9 No|
Answer / rajeev
using %let statement
|Is This Answer Correct ?||4 Yes||14 No|
what other sas products have you used and consider yourself proficient in using? : Sas programming
What is data _null_?
How you can read the variables that you need?
what can you learn from the sas log when debugging? : Sas programming
what is option year cuttoff in sas
What are symget and symput? : sas-macro
Give some ways by which you can define the variables to produce the summary report (using proc report)?
what is the use of proc sql? : Sas programming
how do you read binary data in sas?
How do you add a number to a macro variable?
· What are some good SAS programming practices for processing very large data sets?
What is the role of sas grid administrator? : sas-grid-administration