Question 27:
The following SAS program is submitted:
data work.month;
date = put('13mar2000'd,ddmmyy10.);
run;
Which one of the following represents the type and length of the variable DATE in the output data set?
- numeric, 8 bytes
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 4
put function converts num to char thus date be displayed as 03/13/2000, taking up 10 bytes. ddmmyy10.
You can access to full explanation to question and answer from this page.