Question 1
Topic: Fundamental SAS Concepts
Skill tested: Distinguishes DATA-step syntax errors from logic errors by interpreting SAS log behavior.
A reporting team submits a DATA step that runs to completion and creates the expected output table, but several derived values are incorrect. The SAS log contains no ERROR messages and reports that the step executed successfully. The program uses valid SAS statements, and the input table contains the expected observations. The team must decide whether to investigate a parser failure or the calculations and conditions used to produce the derived values. Which conclusion is most appropriate?
A logic error occurs when valid SAS statements execute but do not implement the intended calculation or condition. Successful completion and an output table show that SAS processed the step, but they do not validate the meaning of the results. A syntax error generally prevents the affected code from being interpreted as intended and is typically identified in the log. The log should still be reviewed for notes and warnings, but the stated symptom points to checking formulas, variable references, and conditional logic rather than assuming a parser failure.