문제풀이/기타
SAS BASE Q42. _ERROR_ variable
나루다루
2018. 10. 31. 01:50
728x90
QUESTION NO: 42
What describes the SAS automatic _ERROR_ variable?
A. The _ERROR_ variable contains the values 'TRUE' or 'FALSE.'
B. The _ERROR variable maintains a count of the number of data errors.
C. The _ERROR_ variable can be used in expressions or calculations in the DATA step.
D. The _ERROR_variable contains the number or the observation that caused the error.
Answer: C
# 문제 풀이
- _ERROR_ variable은 error가 발생하면 1, 발생하지 않으면 0을 표시한다.
- 만약 error가 발생했을 때 어떠한 명령을 수행하겠다라는 식으로 반복문에서 많이 쓰인다.
728x90
반응형