By admin | August 14, 2009

SAS Certified Adv Programmer 50 Questions (24)

The following SAS program is submitted:

%let type=RANCH;
proc sql;
    create view houses as
        select *
            from sasuser.houses
            where style="&type";
quit;
%let type=CONDO;
proc print data=houses;
run;

The report that is produced displays observations whose value of Style are all equal to RANCH. Which one of the following functions on the WHERE clause resolves the current value of the macro variable type?

a. GET
b. SYMGET
c. %SYMGET
d. &RETRIEVE

2 comments | Add One

  1. admin - 08/14/2009 at 1:29 pm

    B

  2. Consty - 02/13/2013 at 3:50 pm

    B: ita resolve the current of the Macro in the processor

Leave a Comment

Leave a Reply

Your email address will not be published.