Multiple choice technology programming languages

A SAS code has been executed and it has an error on the 10th line of the code. What will be the value of the automatic variable ERROR?

  1. 0

  2. 10

  3. 1

  4. 11

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

The ERROR automatic variable in SAS indicates whether any error occurred during DATA step execution. It is set to 1 when an error is detected and 0 when no errors occur. The line number where the error occurred does not affect its value - it's simply a binary flag.