SAS_Institute
A00-201 · Question #22
The contents of the raw data file CALENDAR are listed below: ----|----10----|----20----|----30 01012000 The following SAS program is submitted: data test; infile 'calendar'; input @1 date mmddyy10…
The correct answer is B. January 1st. See the full explanation below for the reasoning.
Question
The contents of the raw data file CALENDAR are listed below:
----|----10----|----20----|----30
01012000
The following SAS program is submitted:
data test;
infile 'calendar';
input @1 date mmddyy10.;
if date = '01012000'd then event = 'January 1st';
run;
Which one of the following is the value of the EVENT variable?
Options
- A01012000
- BJanuary 1st
- C. (missing numeric value)
- DThe value can not be determined as the program fails to execute due to errors.
How the community answered
(39 responses)- A8% (3)
- B72% (28)
- C5% (2)
- D15% (6)
Community Discussion
No community discussion yet for this question.