Posts

SAS Advanced Programming Vendor: SAS Institute Exam Code: A00-212

Vendor: SAS Institute Exam Code: A00-212 Exam Name: SAS Advanced Programming Exam for SAS 9 QUESTION 1 The following SAS program is submitted: Data sasuser.history; Set sasuser.history(keep=state x y Rename = (state=ST)); Total=sum(x,y); Run; The SAS data set SASUSER.HISTORY has an index on the variable STATE. Which describes the result of submitting the SAS program? A. The index on STATE is deleted and an index on ST is created B. The index on STATE is recreated as an index on ST C. The index on STATE is deleted D. The index on STATE is updated as an index on ST Correct Answer: C Explanation Explanation/Reference: Explanation: QUESTION 2 The following SAS program is submitted: %macro one(input); %two; %put the value is &date; %mend; %macro two; data _null_; call symput('date','12SEP2008'); run; %mend; %let date=31DEC2006; %one(&date) What is the result when the %PUT statement executes? A. A macro variable DATE