Showing posts with label Compilation phase. Show all posts
Showing posts with label Compilation phase. Show all posts

Tuesday, April 2, 2013

Base SAS Example Question 6.1

dta work.il_corn;
    set corn.state_data;
    if state = 'Illinois';
run;


The keyword "data" is misspelled above. What happens to this program during the compilation phase assuming "corn" is a valid libref?


a) The program fails due to syntax errors
b) The DATA step compiles but doesn't execute
c) The DATA step compiles and executes
d) None of the above

************************

Leave your answer as a comment below...good luck!

-SAS Cert