SAS Certified Base Programmer 123 Questions (80)
The following SAS program is submitted:
data work.month; date = input('13mar2000',date9.); run;
Which one of the following represents the type and length of the variable DATE in the output data set?
A. numeric, 8 bytes
B. numeric, 9 bytes
C. character, 8 bytes
D. character, 9 bytes
Topics:
SAS Base Questions |
4 Comments »
A
Initially I had difficulty in understanding this question and the answer but now Iam fine….
Can some plz explain this.
The output 14682. For numerical number, the default length is 8. So the answer is A.