SAS_Institute
A00-201 · Question #22
A00-201 Question #22: Real Exam Question with Answer & Explanation
Sign in or unlock A00-201 to reveal the answer and full explanation for question #22. The question stem and answer options stay visible for context.
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.
Unlock A00-201 to see the answer
You've previewed enough free A00-201 questions. Unlock A00-201 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.