SAS Certified Base Programmer 123 Questions (83)
A raw data record is listed below:
----|----10---|----20---|----30 1999/10/25
The following SAS program is submitted:
data projectduration; infile' file-specification'; input date $ 1 - 10; <insert statement here> run;
Which one of the following statements completes the program above and computes the duration of the project in days as of today’s date?
A. duration = today( ) – put(date,ddmmyy 10.);
B. duration = today( ) – put(date,yymmdd 10.);
C. duration = today( ) – input(date,ddmmyy 10.);
D. duration = today( ) – input(date,yymmdd 10.);
Topics:
SAS Base Questions |
1 Comment »
D