Question 10: The contents of the raw data file CALENDAR are listed below:
The following SAS program is submitted:
1 2 3 4 5
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?
A. 01012000 B. January 1st C. . (missing numeric value) D. The value cannot be determined as the program fails to execute due to errors.
*This blog is not affiliated with SAS or the SAS Institute. All answer logs, data sets, output, and commentary are provided by this blog.