나루다루

SAS BASE Q53. array & _temporary_ 본문

Study/SAS BASE

SAS BASE Q53. array & _temporary_

나루다루 2018. 10. 31. 22:35
728x90
반응형

QUESTION NO: 53

The following SAS program is submitted:

data work.test;

array items{3} _temporary_;

run;

 

What are the names of the variable(s) in the WORK.TEST data set?

 

A. ITEMS

B. ITEMS1, ITEMS2, ITEMS3

C. No variables are created because it is a temporary array.

D. The program fails to execute because there are no variables listed on the ARRAY statement.

 

 

Answer: C





# 문제 풀이

 - _temporary_ 옵션이 없다면 : items1 items2 items3가 생성됨


 - _temporary_ 옵션 : 임시 배열이므로 결과물에 나오지는 않음. 

728x90
반응형

'Study > SAS BASE' 카테고리의 다른 글

SAS BASE Q55. weekdate  (0) 2018.10.31
SAS BASE Q54. tables [수정]  (0) 2018.10.31
SAS BASE Q52. data _null_  (0) 2018.10.31
SAS BASE Q51. 세미콜론(;) / 추가 문제  (0) 2018.10.31
SAS BASE Q50. 문자형 변수  (0) 2018.10.31
Comments