Introduction

As an experienced programmer, you want your SAS programs to obtain the desired results while minimizing the use of resources such as CPU time, real time, memory, and I/O.


clock representing time    rectangle representing memory  double-headed arrow representing I/O  cylinder representing data storage


It is particularly important to optimize your SAS programs if you write or maintain production programs and work with large data sets. However, before you can select the most efficient programming technique to perform a particular task, you must carefully consider the technical environment and the resource constraints at your site. There is no single set of programming techniques that is most efficient in all situations. Instead, trade-offs in resource usage are associated with each technique.

In this lesson you will learn about analyzing the requirements for efficiency at your site and about running benchmarks to select the most efficient SAS programming techniques.

Note This lesson has no quiz.

 

30 minutes



In this lesson, you learn to

  • identify the resources that are used by a SAS program
  • identify the main factors to consider when you assess the efficiency needs at your site
  • identify common efficiency trade-offs
  • select the appropriate SAS system option(s) to track and report the resource usage statistics that you want in your operating environment
  • interpret resource usage statistics that are displayed in the SAS log in the z/OS, UNIX, and Windows operating environments
  • identify the guidelines that you should follow in order to benchmark effectively.

complete the following lessons:

  • .