nerdexam
SAS_Institute

A00-212 · Question #53

At the start of a new SAS session; the following program is submitted: %macro one; data _null_; call symput('proc', 'means'); run; proc &proc data = sashelp.class; run; %mend; %one() What is the…

The correct answer is B. The macro variable PROC is stored in the global symbol table. See the full explanation below for the reasoning.

Question

At the start of a new SAS session; the following program is submitted:

%macro one; data null; call symput('proc', 'means'); run; proc &proc data = sashelp.class; run; %mend; %one() What is the result?

Options

  • AThe macro variable PROC is stored in the local symbol table.
  • BThe macro variable PROC is stored in the global symbol table.
  • CThe macro variable PROC is stored in the SAS catalog WORK.SASMACR.
  • DThe program fails to execute because PROC is a reserved word.

How the community answered

(42 responses)
  • A
    2% (1)
  • B
    79% (33)
  • C
    7% (3)
  • D
    12% (5)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice