By admin | November 25, 2009

SAS Certified Adv Programmer 130 Questions (22)

Given the following SAS data set ONE:

ONE 
GROUP SUM
A     765
B     123
C     564

The following SAS program is submitted:

data _null_;
    set one; 
    call symput(group,sum);
run;

Which one of the following is the result when the program finishes execution?

A. Macro variable C has a value of 564.
B. Macro variable C has a value of 1452.
C. Macro variable GROUP has a value of 564.
D. Macro variable GROUP has a value of 1452.

7 comments | Add One

  1. admin - 11/25/2009 at 11:33 am

    A

  2. Chris - 08/11/2010 at 10:54 pm

    Where does the Macro variable C come from?

  3. SAS_Prer - 10/22/2011 at 1:41 pm

    it should be C

  4. SAS_Prer - 10/22/2011 at 1:41 pm

    it should be C

  5. ishuca - 07/24/2012 at 8:37 pm

    call symput is macro variable name used value of variable GROUP

  6. rob roy - 09/3/2012 at 6:25 am

    C is the correct answer

  7. sanj - 11/27/2012 at 12:12 am

    It’s one of the values for ‘GROUP’ variable. Total 3 macros are created. &A, &B and &C by call symput function and the respective values assigned to them are 765, 123 and 564.

Leave a Comment

Leave a Reply

Your email address will not be published.