SAS 7 Question PP
Does this comment contain syntax errors? /* Report created for budget presentation; revised October 15. */ proc print data=work.newloan; run;
No. The comment is correctly specified.
What happens if you submit the following program? porc print data=work.newsalesemps; run;
SAS assumes that the keyword PROC is misspelled and executes the PROC PRINT step.
How many step boundaries does this program contain? data work.staff; length First_Name $ 12 Last_Name $ 18 Job_Title $ 25; infile "&path/newemployees.csv" dlm=','; input First_Name $ Last_Name$ Job_Title $ Salary; run; proc print data=work.staff; run; proc means data=work.staff; var Salary; run;
Six
If you submit a program containing unbalanced quotation marks in SAS University Edition, you can simply correct the error and resubmit the program. True False
True
What result would you expect from submitting this step? proc print data=work.newsalesemps run;
an error message in the log
Which of the following steps is typically used to generate reports and graphs? a. DATA b. PROC c. REPORT d. RUN
b.
Which of the following is a SAS syntax requirement? Which of the following is a SAS syntax requirement? a. Begin each statement in column one. b. Put only one statement on each line. c. Separate each step with a line space. d. End each statement with a semicolon. e. Put a RUN statement after every DATA or PROC step.
d.