The following SAS program is submitted:
data WORK.DATE_INFO;
X="01Jan1960" D;
run;
What variable X contains what value?
The following SAS program is submitted:
data WORK.DATE_INFO;
X="01Jan1960" D;
run;
What variable X contains what value?
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.
data WORK.DATE_INFO; X="01Jan1960"d; run;