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 statements is false?
    1. A macro variable can be defined and referenced anywhere in a SAS program except within data lines.
    2. Macro variables are always user-defined, and their values remain constant until they are changed by the user.
    3. Macro variables are text strings that are independent of SAS data sets.
    4. The values of macro variables can be up to 65,534 characters long.
  2. Which of the following TITLE statements correctly references the macro variable month?
    1. title "Total Sales for '&month' ";
    2. title "Total Sales for 'month'";
    3. title "Total Sales for &month"; ...

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