Introduction to Acting on Selected Observations

Purpose

One of the most useful features of SAS is its ability to perform an action on only the observations that you select. The following concepts are discussed in this section:
  • how the selection process works
  • how to write statements that select observations based on a condition
  • some special points about selecting numeric and character variables

Prerequisites

You should understand the concepts presented in all previous sections before proceeding with this section.

Get Step-by-Step Programming with Base SAS 9.4 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.