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
Ans is d
ReplyDeleteAns is a
ReplyDeleteD.
ReplyDeletePUT (Numeric to Character conversion) length $9. Initial length defined as 8 (ecsql1.salesstaff)
shouldn't this be C?
ReplyDeletethe answer is D
ReplyDeleteD. Length = 9 = 8 + one trailing blank
ReplyDeleteput converts numeric to character and length mentoned in functin is 9 so ans id d
ReplyDeleteanswer is D
ReplyDeleteAnswer is "D"
ReplyDelete
ReplyDeleteFor 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
Nice Post !
ReplyDeleteAre 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.
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
ReplyDeleteQuickBooks Customer Service.