By admin | August 16, 2009

SAS Certified Adv Programmer 50 Questions (27)

Given the following partial SAS log:

11    %macro a(location);
12        %if &location = FL %then
13            libname &location 'c:\state';
14    %mend;
15    %a(FL)
NOTE: SCL source line.
16    libname mylib 'c:\mydata';
      -------
      22
ERROR: Libname FL is not assigned.
ERROR: Error in the LIBNAME statement.
ERROR 22-7: Invalid option name LIBNAME.

Which of the following SAS system options can be used to display the results of resolving the macro variable reference &location?

a. MPRINT only
b. MLOGIC only
c. SYMBOLGEN only
d. MPRINT and MLOGIC

2 comments | Add One

  1. admin - 08/16/2009 at 11:01 am

    C

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

    C:displays the results of resolving macro variable references

Leave a Comment

Leave a Reply

Your email address will not be published.