Chapter 20: Creating a Single Observation from Multiple Raw Data Records

  1. Correct answer: c
    Information for one observation can be spread out over several records. You can write one INPUT statement that contains line pointer controls to specify the record or records from which values are read.
  2. Correct answer: c
    The forward slash (/) line pointer control is used to read multiple records sequentially. Each time a / pointer is encountered, the input pointer advances to the next line. @n and +n are column pointer controls.
  3. Correct answer: b
    The #n line pointer control is used to read records non-sequentially. The #n specifies the absolute number of the line to which you want to move the pointer.
  4. Correct answer: a
    The INPUT statement ...

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.