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 |
data task; input id date date9. visit; cards; 101 01jan2015 1 101 02jan2015 2 101 06jan2015 3 102 04jan2015 1 102 07jan2015 2 102 12jan2015 3 103 06jan2015 1 103 13jan2015 2 ; run; write a program to find out missing dates between visits by each subject.
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...
how many display types available in sas bi dashboard? : Sas-bi
what is sas data set?
Have you been involved in editing the data or writing data queries?
1 Answers BioServe, Oracle, Sasken,
What is Linear Regression?
What is a pdv and what are its functions?
How would you code a merge that will keep only the observations that have matches from both sets?
What do the mod and int function do? : Sas programming
what is the difference between x=substr(name,1,2); and substr(name,1,2)='x';
If i doest required Cumilative frequency in my table, generated by using PROC FREQ what i had to do?