Summary
Executing Only Necessary Statements
You minimize the CPU
time that SAS uses when you execute the minimum number of statements
in the most efficient order.
For a more efficient
program, place the subsetting IF statement as soon as logically possible
in a DATA step when creating a subset of data.
Review guidelines for
using conditional logic efficiently with IF-THEN/ELSE statements or
SELECT statements. Remember to minimize the number of statements that
use SAS functions or arithmetic operators.
Conditionally execute only necessary statements by placing statements in groups that are associated with IF-THEN/ELSE statements or SELECT/WHEN statements. Groups of statements execute only when a particular condition is true. Review the criteria ...
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.