100%(1)1 out of 1 people found this document helpful
This preview shows page 3 - 6 out of 9 pages.
3 Question: 3 Which SET statements option names a variable that contains the number of the observation to read during the current iteration of the DATA step? Question: 4 When reading a SAS data file, what does the NOBS=option on the SET statement represent? Question: 5 CORRECT TEXT The 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? result is result is 10 result is 10.5 result is 10+0.5
For interactive and self-paced preparation of exam A00-212, try our practice exams. Practice exams also include self assessment and reporting features!4 Question: 6 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? Question: 7 The following SAS program is submitted: %macro check(num=4); %let result=%eval(&nm gt 5); %put result is &result; %mend; %check (num=10) What is written to the SAS log? A. result is true B. result is 10 gt 5 C. result is 1 D. result is 0 Answer: C