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 automatic variable ERROR is set to 1 when any error occurs during DATA step execution, and 0 otherwise. Its value indicates error presence, not line number. On the 10th line error, ERROR becomes 1.