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
Why double trailing @@ is used in input statement?
What is the sas data set? : sas-grid-administration
explain the use of % includes a statement in sas? : Sas-administrator
what are all the reports you generated in your recent project?
Which statement does not perform automatic conversions in comparisons?
what is data integration? : Sas-di
What are the features of base sas system?
what are several options for creating reports in web report studio? : Sas-bi
How many data types are there in SAS?
What do the PUT and INPUT functions do?
What is the work of tranwrd function?
name several ways to achieve efficiency in your program? : Sas programming
what techniques and/or procs do you use for tables? : Sas programming
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
What system options would you use to help debug a macro? : sas-macro