문제풀이/기타

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
반응형