SAS_Institute
A00-211 · Question #112
The following SAS program is submitted: data work.january; set work.allmonths (keep = product month num_sold cost); if month = 'Jan' then output work.january; sales = cost * num_sold; keep = product…
The correct answer is D. An incomplete output data set is created due to syntax errors. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.january; set work.allmonths (keep = product month num_sold cost); if month = 'Jan' then output work.january; sales = cost * num_sold; keep = product sales; run; Which variables does the WORK.JANUARY data set contain?
Options
- APRODUCT and SALES only
- BPRODUCT, MONTH, NUM_SOLD and COST only
- CPRODUCT, SALES, MONTH, NUM_SOLD and COST only
- DAn incomplete output data set is created due to syntax errors.
How the community answered
(20 responses)- A5% (1)
- B10% (2)
- C5% (1)
- D80% (16)
Community Discussion
No community discussion yet for this question.