The following SAS program is submitted:Data sasuser.history;Set sasuser.history(keep=state x yRename = (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?
Answer(s): C
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?
Which SET statements option names a variable that contains the number of the observation to read during the current iteration of the DATA step?
Answer(s): B
When reading a SAS data file, what does the NOBS=option on the SET statement represent?
CORRECT TEXTThe following SAS program is submitted:%macro check(num=4);%let result=%sysevalf(&num+0.5);%put result is &result;%mend;%check(num=10)What is the written to the SAS log?
Post your Comments and Discuss SAS Institute A00-212 exam prep with other Community members: