By admin | August 13, 2009

SAS Certified Adv Programmer 50 Questions (17)

The following SAS program is submitted:

%let sun=SHINE;
%let shine=MOON;

proc print data=weather(keep=sun shine moon);
    sum &&&&sun;
run;

Which one of the following variables is summed in the resulting report?

a. sun
b. MOON
c. SHINE
d. None, an ERROR message will be written to the log.

2 comments | Add One

  1. admin - 08/13/2009 at 2:28 pm

    C

  2. Cee - 07/24/2014 at 3:28 pm

    If the code is

    sum &&&sun;

    Will the answer still be C?

Leave a Comment

Leave a Reply

Your email address will not be published.