SAS_Institute
A00-211 · Question #30
The following SAS program is submitted: data WORK.DATE_INFO; Day="01" ; Yr=1960 ; X=mdy(Day,01,Yr) ; run; What is the value of the variable X?
The correct answer is A. the numeric value 0. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data WORK.DATE_INFO; Day="01" ; Yr=1960 ; X=mdy(Day,01,Yr) ; run; What is the value of the variable X?
Options
- Athe numeric value 0
- Bthe character value "01011960"
- Ca missing value due to syntax errors
- Dthe step will not compile because of the character argument in the mdy function.
How the community answered
(22 responses)- A82% (18)
- B5% (1)
- C5% (1)
- D9% (2)
Community Discussion
No community discussion yet for this question.