The ERROR automatic variable in SAS can be used in IF statements and other expressions within the DATA step. It's NOT initialized to 1 at the beginning (it's 0), doesn't hold the observation number, and CAN be dropped from output datasets depending on logic. Its main use is in conditional expressions.