117. The following SAS program is submitted:
data work.totalsales (keep = monthsales{12} );
set work.monthlysales (keep = year product sales);
array monthsales {12} ;
do i=1 to 12;
monthsales{i} = sales;
end;
run;
The data set named WORK.MONTHLYSALES has one observation per month
for each of five years for a total of 60 observations.
Which one of the following is the result of the above program?
A00-211
- 36 - http://www.ePlanetLabs.com
A. The program fails execution due to data errors.
B. The program fails execution due to syntax errors.
C. The program executes with warnings and creates the WORK.TOTALSALES
data set.
D. The program executes without errors or warnings and creates the
WORK.TOTALSALES data set.
Answer: B
为何选b 呢?