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 is the difference between reading data from an external file and reading data from an existing data set?
If you were told to create many records from one record show how you would do this using arrays and with PROC TRANSPOSE?
I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x y /nocum nopercent; run; Here I get nopercent and nocum in the output only for variables x and y. How do i do it for all variables? Deepak
How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What is highest missing value for numeric?
Explain the purpose of substr functions in sas programming.
what is SAS/Graph?
What is difference between Global n Local Macro Variables..?
Of all your work, where have you been the most successful?
Why do we use QUIT commmand for proc datasets and proc sql ???
If you set a label in the data step and call a proc freq on the data, how do you display the data without the labels and just the variables.
what are the sites did u refer for enquiries and doubts for SAS