Avoiding Unnecessary Procedure Invocation

Overview

Best practices specify that you avoid unnecessary procedure invocation. One way to do this is to take advantage of procedures that accomplish multiple tasks with one invocation.
Several procedures enable you to perform multiple tasks or create multiple reports by invoking the procedure only once. These include the following:
  • the SQL procedure
  • the DATASETS procedure
  • the FREQ procedure
  • the TABULATE procedure.
Note: BY-group processing can also minimize unnecessary invocations of procedures.
To illustrate this principle, examine features of the DATASETS procedure.

Executing the DATASETS Procedure

The DATASETS procedure can use RUN-group processing to process multiple sets ...

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.