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

Get SAS Certified Professional Prep Guide 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.