Multiple choice technology programming languages

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. within the data lines of a DATALINES statement.

  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.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Option B is false because macro variables are NOT always user-defined. SAS provides automatic (system) macro variables like SYSDATE, SYSDAY, SYSVER that are created by the system. Options A, C, and D are true statements - macro variables can be defined/referenced almost anywhere, are text strings independent of datasets, and can hold up to 65,534 characters. The question asks which is false, so B is the correct answer.