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 ...

Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.