Why is SAS considered self-documenting?
Answer / ravi gupta
I think this is because in SAS by default we get detailed log.. listing out each and every step with ERROR/WARNINGs or NOTES, this is quite helpful in debugging.
On top of it you also have debugging options like - MACROGEN SYMBOLGEN MLOGIC MPRINT MFILE, which allows you to dig deeper and get even more detailed logs.
Looking at SAS log only you can make out what exactly the code is doing... you get the whole story documented itself - how many observations where read from input dataset and how many variables the new dataset have and if a variable was left uninitialised or truncated and lot more.
Its so well documented that you can retrieve your SAS code from its log using a simple regular expression.
However, I struggled to get SAS like logs in R & Python.
| Is This Answer Correct ? | 1 Yes | 1 No |
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
What is the length assigned to the target variable by the scan function?
How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?
Which statement does not perform automatic conversions in comparisons?
What is program data vector (pdv)?
What is Transaction...? And what are Comment, Roll back n Save point..?
How to get the repeated values by using sql in sas ?
What are the five ways to do a table lookup in sas? : sas-grid-administration
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
What is the difference between match merge and one to one merge?
Does SAS ?Translate? (compile) or does it ?Interpret?? Explain.
what is sas metadata repository? : Sas-bi