Does SAS ?Translate? (compile) or does it ?Interpret?? Explain.

Answer Posted / pratik singh jageera

There are hell lot of differences between a Compiler and an Interpreter.But the two which I would take to prove that SAS actually COMPILES and is not Interpreted are:

1)A Compiler takes entire program as input while an interpreter takes single instruction as input.

SAS is a compiler as it does not read and execute one statement at a time. It will either wait for a RUN, QUIT, next DATA or PROC statement before executing its statements.

2)In compiler errors are displayed after entire program is checked.While in interpreter it is displayed for every instruction interpreted.

In SAS all errors are displayed after checking the particular data/proc step.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between floor and ceil functions in sas? : Sas-administrator

698


What is the difference between SAS functions and procedures?

653


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

605


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1766


How to create a permanent sas data set?

676






What is a method to debug and test your SAS program?

715


What is the difference between INPUT and INFILE ?

754


what is the use of proc sql? : Sas programming

592


What is the use of divide function?

600


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?

2381


how to read the variables in sas? : Sas-administrator

551


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

1908


What makes sas stand out to be the best over other data analytics tools?

585


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1660


which date function advances a date, time or datetime value by a given interval? : Sas programming

591