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 SAS?

613


Explain substr function?

569


Differences between where and if statement?

577


What areas of SAS are you most interested in?

1055


Explain the main difference between the sas procedures and functions? : Sas-administrator

529






What is the maximum and minimum length of macro variable

648


For what purposes have you used sas macros? : sas-macro

533


Explain by-group processing?

580


Differentiate between format and informat? : sas-grid-administration

571


what is factor analysis? : Sas-administrator

600


How necessary is it to be creative in your work?

2012


What are the applications primarily used by business analyst? : Sas-bi

546


Which command is used to perform sorting in sas program?

591


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

681


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

604