O'Reilly logo

SAS Certification Prep Guide, 4th Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Quiz

Select the best answer for each question. After completing the quiz, check your answers using the answer key in the appendix.
  1. Which of the following is false?
    1. A %LET statement causes the macro processor to create a macro variable before the program is compiled.
    2. To create a macro variable that is based on data calculated by the DATA step, you use the SYMPUT function.
    3. Macro functions are always processed during the execution of the DATA step.
    4. Macro variable references in a DATA step are always resolved before DATA step execution.
  2. Which of the following correctly creates a macro variable named region and assigns to it a value that is based on the value of the data set variable Location?
    1. data new; set ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required