Why is SAS considered self-documenting?



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

Post New Answer

More SAS Interview Questions

Hi, I need to create a SAS Map of USA using SAS Graphs(Proc Gmap).The data i have dosent contain any co-ordinates of USA cities or counties or states, and the zip codes are diffrent in the data i have from the zip code in the Maps.US dataset in the Maps Library for SAS MAPS. the data i have is a sales report. i have to generate the maps according to the states,cities aligned in the sales data, HELP Appriciated

1 Answers  


Describe the function and untility of the most difficult SAS macro that you have written.

0 Answers  


Which date function advances a date, time or datetime value by a given interval?

0 Answers  


How do i read multiple spaces in datasets?

4 Answers   Quintiles,


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

0 Answers  






If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn’t have a value?

3 Answers   Accenture,


How are numeric and character missing values represented internally?

0 Answers   Quintiles,


How can you put a "trace" in your program?

2 Answers   Quintiles,


explain the key concept of sas? : Sas-administrator

0 Answers  


what is business intelligence? : Sas-bi

0 Answers  


what are the three main credit bureau names

1 Answers   Synchrony Financial,


How you can read the variables that you need?

0 Answers  


Categories