QUESTION NO: 27카테고리 없음2019. 3. 10. 21:22
Table of Contents
반응형
QUESTION NO: 27
The following SAS program is submitted: libnametemp 'SAS data library';
data work.new;
set temp.jobs;
format newdate mmddw10.;
mdate= month(newdate);
ddate= weekday(newdate);
run;
proc print data = work.new;
run;
The variable NEWDATE contains the SAS date value for April 15. 2005.
What output is produced if April 15, 2005 falls on a Friday?
A. Obsnewdate mdate ddate 104/15/2005 APR 6
B. Obs newdate mdate ddate 104/15/2005 4 6
C. Obs newdate mdate ddate 104/15/2005 APR 7
D. Obs newdate mdate ddate 104/15/2005 4 7
Answer: B
Soltuion :
여기서 mdate = Monthdata를 의미 = April = 4번쨰 이기 떄문에 4
ddate = Datedate를 의미 = 1 ( Sunday ) 부터 시작 하기 때문에 Friday는 6번째
반응형
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상