나루다루

SAS BASE Q45. libname 본문

Study/SAS BASE

SAS BASE Q45. libname

나루다루 2018. 10. 31. 21:37
728x90
반응형

QUESTION NO: 45

The following SAS program is submitted:

libname temp 'SAS data library';

data temp.sales;

merge temp.sales work.receipt;

by names;

run;

 

The input data files are sorted by the NAMES variable:

What is the result?

 

A. The program executes successfully and a temporary SAS data set is created.

B. The program executes successfully and a permanent SAS data set is created.

C. The program fails execution because the same SAS data set is referenced for both read and write operations.

D. The program fails execution because the SAS data sets on the MERGE statement are in two different libraries.

 

 

Answer: B





# 문제 풀이

 - libname 명령어를 통해서 사용자 정의 라이브러리인 temp를 만들었다. 


 - work는 기존에 있는 라이브러리이며 임시 라이브러리이다.





728x90
반응형

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

SAS BASE Q47. sas catalog & format  (0) 2018.10.31
SAS BASE Q46. input+1 옵션[수정]  (0) 2018.10.31
SAS BASE Q44. mean(of )  (0) 2018.10.31
SAS BASE Q43.  (0) 2018.10.31
SAS BASE Q42. _ERROR_ variable  (0) 2018.10.31
Comments