Introduction to Shortcuts

Purpose

In this section you will learn two DATA step programming techniques that make the code easier to write and read:
  • using a DO group to perform more than one action after evaluating an IF condition
  • using arrays to perform the same action on more than one variable with a single group of statements

Prerequisites

Before proceeding with this section, you should understand the topics presented in the following sections:

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.