나루다루

SAS BASE Q5. footnote 본문

Study/SAS BASE

SAS BASE Q5. footnote

나루다루 2018. 2. 11. 02:28
728x90
반응형

QUESTION NO: 5

The following SAS program is submitted:

footnote1 'Sales Report for Last Month';

footnote2 'Selected Products Only';

footnote3 'All Regions';

footnote4 'All Figures in Thousands of Dollars';

proc print data = sasuser.shoes;

footnote2 'All Products';

run;

 

Which footnote(s) is/are displayed in the report?

 

A. All Products

B. Sales Report for Last Month All Products

C. All Products All Regions All Figures in Thousands of Dollars

D. Sales Report for Last Month All Products All Regions All Figures in Thousands of Dollars

 

 

Answer: B





# 문제 풀이

 - footnote 1~4는 global(전역적)이므로 모든 print 스텝에 적용된다.


 - footnote는 1부터 4까지 순차적으로 읽는다. 


 - 본문의 proc print 스텝에서 기존의(global한) footnote를 읽고 그 다음에 재정의한 footnote2 'All Products'를 읽는다.

포인트는 재정의한 footnote2까지만 표시되고, 그 밑은 표시되지 않는다는 점이다. 


728x90
반응형

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

SAS BASE Q7. tranwrd  (0) 2018.02.12
SAS BASE Q6. trim & || [수정]  (0) 2018.02.12
SAS BASE Q4. if & output [수정] / 15,20번과 비교  (1) 2018.02.11
SAS BASE Q3. length 구문  (0) 2018.02.11
SAS BASE Q2. set & in & pdv  (0) 2018.02.11
Comments