Wednesday, May 8, 2013

Base SAS Certification Sample Question 13.1

I hope the below Base SAS Certification sample question is helpful to you when you're studying for the exam. Leave your answer as a comment below and good luck!

-SAS Cert


*********************************


Assume the variable employee_id in the ecsql1.salesstaff table has a length of 8, and the program below runs without errors. Which of the below statements is true about the variable employee_id2?


data work.sales_id (keep=employee_id2);
    set ecsql1.salesstaff (keep=employee_id);
    employee_id2 = put(employee_id,$9.);
run;


a) employee_id2 is a numeric variable with length 8
b) employee_id2 is a numeric variable with length 9
c) employee_id2 is a character variable with length 8
d) employee_id2 is a character variable with length 9

12 comments:

  1. D.
    PUT (Numeric to Character conversion) length $9. Initial length defined as 8 (ecsql1.salesstaff)

    ReplyDelete
  2. D. Length = 9 = 8 + one trailing blank

    ReplyDelete
  3. put converts numeric to character and length mentoned in functin is 9 so ans id d

    ReplyDelete

  4. For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.

    Refer our blog for more details http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

    ReplyDelete
  5. Nice Post !
    Are you unable to work on QuickBooks software? If yes, then do call us at QuickBooks Customer Support Number 1-855-974-6537 and get sure-shot solutions to troubleshoot all the issues of QuickBooks.

    ReplyDelete
  6. Amazing Blog !! Thanks For Sharing Valuable information .QuickBooks is a full package accounting software that fulfils all the needs of businesses. To get the quickest services for QuickBooks at
    QuickBooks Customer Service.

    ReplyDelete