SAS_Institute
A00-211 · Question #151
A00-211 Question #151: Real Exam Question with Answer & Explanation
Sign in or unlock A00-211 to reveal the answer and full explanation for question #151. 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 january; 106 set allmonths(keep = product month num_sold cost); 107 if month = `Jan' then output january; 108 sales = cost * num_sold; 109 keep = product sales; ------ ERROR 22-322: Syntax error, expecting one of the following:!, !!, &, *,**, +, -,/, <,< =, <>, =, >, ><, >=, AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR,^=,|,II, 110 run; What changes should be made to the KEEP statement to correct the errors in the LOG?
Options
- Akeep product sales;
- Bkeep product, sales;
- Ckeep = product, sales;
- Dkeep = (product sales);
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.