Eliminating Unnecessary Passes through the Data
Best practices specify that you should eliminate unnecessary
passes through the data. To minimize I/O operations and CPU time,
avoid reading or writing data more than necessary.
Comparative Example: Creating Multiple Subsets of a SAS Data
Set
Overview
Suppose you want to
create five subsets of data from the data set Retail.Customer.
You need a subset for each of five countries.
The following sample
programs compare two techniques. You can use these samples as models
for creating benchmark programs in your own environment. Your results
might vary depending on the structure of your data, your operating
environment, and the resources that are available at your site.