Chapter 7: Understanding DATA Step Processing

  1. Correct answer: b
    During the compilation phase, the program data vector is created. The program data vector includes the two automatic variables _N_ and _ERROR_. The descriptor portion of the new SAS data set is created at the end of the compilation phase. The descriptor portion includes the name of the data set, the number of observations and variables, and the names and attributes of the variables. Observations are not written until the execution phase.
  2. Correct answer: a
    Syntax checking can detect many common errors, but it cannot verify the values of variables or the correctness of formats.
  3. Correct answer: c
    The DATA step executes once for each record in the input file, unless otherwise ...

Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.