Why is SAS considered self-documenting?

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


Please Help Members By Posting Answers For Below Questions

If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

609


What is the basic syntax of a sas program?

668


what is slowly changing dimension? : Sas-di

624


What are the statements that are executed only?

672


How to create list output for cross-tabulations in proc freq?

618






How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

638


what are some differences between proc summary and proc means? : Sas programming

505


Tell me about % include and % eval? : sas-macro

678


Explain what is the use of proc gplot?

702


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

1844


What are the uses of sas?

705


what is treatment emergent events and treatment emregent adverse event

1939


do you prefer proc report or proc tabulate? Why? : Sas programming

572


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

593


Name some categories in sas 9? : sas-grid-administration

555