Exam A00-211 All QuestionsBrowse all questions from this exam
Question 25

The following SAS program is submitted:

data WORK.DATE_INFO;

X="01Jan1960" D;

run;

What variable X contains what value?

    Correct Answer: D

    The syntax in the given SAS program is incorrect. The date value should be assigned with proper format and syntax. Correct syntax for assigning a date value in SAS is as follows: X='01Jan1960'd; Hence, the code contains a syntax error and does not execute.

Discussion
MTKV18Option: C

data WORK.DATE_INFO; X="01Jan1960"d; run;