Answer Posted / saurabh gupta
It's a best practice not to hardcode values in code until
or unless it's not very necessary. Always try to use
dynamic variables in your code it will increase the
felxibility of the code.
Ex let say you have to run one of your code every year and
one of your condition needs a date which is begning of the
year and you hardcoded your value like this
%Let YBEG = '2007-01-01'
Then every year when you have to run this code you have to
change the date but if you use daynamic variable it will
resolve automatically.
ex YBEG = Y_BEG_0.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What do you understand by the term Normal Distribution?
Explain the use of proc gplot? : sas-grid-administration
What are the limitations for memory allocation for SAS variables
explain the key concept of sas? : Sas-administrator
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
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?
What are the uses of sas?
In SAS explain which statement does not perform automatic conversions in comparisons?
why is a stop statement needed for the point=option on a set statement? : Sas programming
How do you delete duplicate observations in sas?
what is sas data set?
how does sas handle missing values in procs? : Sas programming
How would you invoke a macro? : sas-macro
What is PROC in SAS?