SAS Base, A00-211 Crambible 

SAS 베이스 자격증 


QUESTION NO 42. 


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. TheERROR_variable contains the number or the observation that caused the error.




에러가 나게되면 이 에러를 판단하는 진행과정이 있는데요. 에러가 없으면 0, 에러가 있으면 1을 갖는 시스템을 갖고 있습니다. 따라서 True & False값을 갖는건 아니고요. 갯수와는 상관 없고요. data step 중 계산과정에서 표현될 수 있습니다. 즉, do 의 반복문같은 경우, _ERROR_ = 1 이런결과를 가지고 에러 오류 처리하는데 활용될 수 있습니다. 예를들어 에러가 있으면 do 반복문 빠져나와라..이런식으로요. 


Answer: C 



반응형

+ Recent posts