SAS_Institute
A00-211 · Question #50
A00-211 Question #50: Real Exam Question with Answer & Explanation
Sign in or unlock A00-211 to reveal the answer and full explanation for question #50. The question stem and answer options stay visible for context.
Question
After a SAS program is submitted, the following is written to the SAS log: 105 data WORK.JANUARY; 106 set WORK.ALLYEAR(keep=Product Month Quantity Cost); 107 if Month='JAN' then output WORK.JANUARY; 108 Sales=Cost * Quantity; 109 drop=Month Quantity Cost; ----- ERROR 22-322: Syntax error, expecting one of the following: !, !!, , *, **, +, -, , <=, <>, =, >, >=, AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR, ^=, |, ||, ~=. 110 run; What data set option could be attached to WORK.JANUARY to replace the DROP statement that generated the error in the log?
Options
- A(drop Month Quantity Cost)
- B(drop Month, Quantity, Cost)
- C(drop=Month, Quantity, Cost)
- D(drop=Month Quantity Cost)
Unlock A00-211 to see the answer
You've previewed enough free A00-211 questions. Unlock A00-211 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.