Which of the following statement is true
-
Referencing a nonexistent macro variable results in a warning message. Referencing an invalid macro variable name results in an error message.
-
Referencing a nonexistent macro variable results in a error message. Referencing an invalid macro variable name results in an warning message.
-
Referencing a nonexistent macro variable and invalid macro variable name results in an error message.
-
Referencing a nonexistent macro variable and invalid macro variable name results in an warning message.
In SAS, referencing a nonexistent macro variable generates a warning in the log, and the reference is left unresolved. However, referencing an invalid macro variable name (which violates SAS naming rules, such as starting with a number) violates syntax rules and results in a compilation error.