By admin | September 25, 2009

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

4 comments | Add One

  1. admin - 09/25/2009 at 3:26 pm

    A

  2. sowmya - 12/21/2010 at 8:19 pm

    Initially I had difficulty in understanding this question and the answer but now Iam fine….

  3. shilpa - 10/4/2011 at 5:58 pm

    Can some plz explain this.

  4. Crystal - 07/30/2012 at 5:16 pm

    The output 14682. For numerical number, the default length is 8. So the answer is A.

Leave a Comment

Leave a Reply

Your email address will not be published.