QUESTION NO: 22카테고리 없음2019. 3. 10. 19:27
Table of Contents
반응형
QUESTION NO: 22
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 program fails execution due to syntax errors. What is the cause of the syntax error?
A. The variable MONTHSALES does not exist.
B. An array cannot be referenced on a KEEP data set option.
C. The KEEP= data set option should be (KEEP = MONTHSALES).
D. The KEEP= data set option should be the statement KEEP MONTHSALES{12}.
Answer: B
Solution : sas에서 배열은 KEEP 으로 선언할 수 없다
반응형
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상