나루다루

SAS BASE Q59. @ & informat [수정] ??? 본문

Study/SAS BASE

SAS BASE Q59. @ & informat [수정] ???

나루다루 2018. 11. 1. 23:47
728x90
반응형

QUESTION NO: 59

Given the contents of the raw data file EMPLOYEE:

Alan           19/2/2004 ACCT

Rob            22/5/2004 MKTG

MaryJane       14/3/2004 EDOC

 

The following SAS program is submitted:

data emps;

infile 'employee';

input@1 name$

@15 date <insert INFORMAT here>

@25 department$;

run;

 

Which INFORMAT correctly completes the program?

 

A. date9.

B. ddmmyyyy9.

C. ddmmyy10.

D. ddmmyyyy10.

 

 

Answer: C




# 문제수정

 - 데이터 부분이 누락되어 추가하였다.


# 문제 풀이

 - @1 : 데이터의 1번째부터 변수에 할당



728x90
반응형

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

SAS BASE Q61. 정렬(sort)  (0) 2018.11.01
SAS BASE Q60. @@ (???)  (0) 2018.11.01
SAS BASE Q58. first/last & if  (0) 2018.11.01
SAS BASE Q57.  (0) 2018.10.31
SAS BASE Q56. le & ge  (0) 2018.10.31
Comments