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?
When reading a SAS data file, what does the NOBS=option on the SET statement represent?
CORRECT TEXT -The following SAS program is submitted:%macro check(num=4);%let result=%sysevalf(#+0.5);%put result is &result%mend;%check(num=10)What is the written to the SAS log?
The following SAS program is submitted:%micro test(var);%let jobs=BLACKSMITH WORDSMITH SWORDSMITH;%let type=%index(&jobs, &var);%put type = &type%mend;%test(SMITH)What is the value of the macro variable TYPE when the %PUT statement executes?
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?