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

Answers were Sorted based on User's Feedback



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

Answer / kalyan

SAS is both COMPILER & INTERPRETER

Is This Answer Correct ?    8 Yes 0 No

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

Answer / vsrao

compile

Is This Answer Correct ?    5 Yes 1 No

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

Answer / senthilkumar govindarajan

A typical SAS program could contain DATA steps, PROC steps
and macros. Macros are preprocessed. DATA steps are just in
time compiled. PROC steps are interpreted in the oreder
they appear in program. So when we submit a SAS program
consisting of all these three componenets, the macro is
compiled and executed first. If a DATA step is encountered,
then it is compiled and executed. Note that the DATA step
will not be executed if there is an error in the
compilation. If a PROC step is encountered, it is
interpreted and executed line by line. However i am not
certain on this PROC step behaviour.

Is This Answer Correct ?    3 Yes 0 No

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

Answer / phanirajiv

koduri u r wrong.

by default SAS is a compiled.

the interpret option works only when u mention the option
debug.

Is This Answer Correct ?    2 Yes 0 No

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

Answer / kishore

sas can do both compilation and interpreting





vvenkish555@yahoo.co.in

Is This Answer Correct ?    2 Yes 0 No

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

Answer / mohit

http://web.utk.edu/sas/OnlineTutor/1.2/en/60476/m22/m22_45.htm

link has the answer

Is This Answer Correct ?    1 Yes 0 No

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

Answer / sr

SAS IS BOTH COMPIL&INTERPRET YES
ALREADY PROVED

Is This Answer Correct ?    0 Yes 0 No

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

Answer / 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

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

Answer / ganesh

My answer is interpret. Why because compile means it checks
all the errors at onetime and gives the output. but coming
to the interpret it going check by errors line by line and
observation by observation and inbetween any errors occour
i stops the process for the next step.

Is This Answer Correct ?    0 Yes 2 No

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

Answer / koduri

sorry vsrao, its a interpret.
compile means it will execute once and display all errors,
interpret means it's check each line by line . suppose on
the middle of the program any error it's stop.(ex: _error_=1
always ie reasion)

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SAS Interview Questions

What does the RUN statement do?

0 Answers   Quintiles,


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

0 Answers  


How the Excel file enter into the SAS environment without Code of Infile & Import procs,if i have no file Conversion?

3 Answers   Reddy Labs,


what do the pad and dim functions do? : Sas programming

0 Answers  


my problem is to export my report to xsl.i can do that.but the problem is my report has 3 headings first heading should be printed with the merging of (1-5)cells and heading 2 should be of merge(2-4)cells?how to do this condition?

2 Answers   Dr Reddys, Oracle,






Name statements that function at both compile and execution time.

3 Answers   L&T,


Code a PROC MEANS that shows both summed and averaged output of the data.

5 Answers  


If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

1 Answers  


Where do the database management systems store data and how do u import them.

2 Answers   L&T,


how can you create zero observation dataset? : Sas programming

0 Answers  


What is the role of administrative users? : sas-grid-administration

0 Answers  


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?

0 Answers  


Categories