Finding Shortcuts in Programming |
Purpose |
In this section you will learn two DATA step programming techniques that make the code easier to write and read. They are the following:
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 |
You should understand the topics presented in Understanding DATA Step Processing and Acting on Selected Observations before proceeding with this section.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.