Question 9: The following SAS program is submitted:
1 2 3 4 5 6
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?
A. PRODUCT and SALES only B. PRODUCT, MONTH, NUM_SOLD and COST only C. PRODUCT, SALES, MONTH, NUM_SOLD and COST only D. An incomplete output data set is created due to syntax errors.
*This blog is not affiliated with SAS or the SAS Institute. All answer logs, data sets, output, and commentary are provided by this blog.