Answer Posted / 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 |
Post New Answer View All Answers
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
how does sas handle missing values in formats? : Sas programming
Difference between informat and format?
What are the features of base sas system?
What are the different types of sas functions?
how the sas basic syntax style described? : Sas-administrator
What do the put and input function do?
How is character variable converted into numeric variable and vice versa?
What can you learn from the SAS log when debugging?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
explain the use of % includes a statement in sas? : Sas-administrator
What are the 3 components in sas programming?
what is data integration? : Sas-di
How substr function works in sas?
Explain the difference between informat and format with an example.