Which expression successfully completed the program and created the variable DAY?

Given the SAS data set ONE:

ONE

ObsDte

————-

109JAN2005

212JAN2005

The following SAS program is submitted:

data two;

set one;

day = <insert expression here>;

format dte date9.;

run;

The data set TWO is created:

TWO

ObsDteDay

109JAN20051

12JAN20054

Which expression successfully completed the program and created the variable DAY?
A . day(dte)
B. weekday(dte)
C. dayofweek(dte)
D. datdif(dte,’01jan2005’d,’act/act’)

Answer: B

Latest A00-211 Dumps Valid Version with 270 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments