SAS_Institute
A00-211 · Question #201
A00-211 Question #201: Real Exam Question with Answer & Explanation
The correct answer is D. Obs newdate qdate ddate. See the full explanation below for the reasoning.
Question
The following SAS program is submitted: libname temp 'SAS-data-library'; data work.new; set temp.jobs; format newdate mmddyy10.; qdate = qtr(newdate); ddate = weekday(newdate); run; proc print data = work.new; run; The variable NEWDATE contains the SAS date value for April 15, 2000. What output is produced if April 15, 2000 falls on a Saturday?
Options
- AObs newdate qdate ddate
- BObs newdate qdate ddate
- CObs newdate qdate ddate
- DObs newdate qdate ddate
Community Discussion
No community discussion yet for this question.