Understanding the SAS/IML Language


Types of Statements

Statements in the SAS/IML language can be classified into three general categories:

Control statements direct the flow of execution. For example, the IF-THEN/ELSE statement conditionally controls statement execution.

Functions and CALL statements perform special tasks or user-defined operations. For example, the EIGEN subroutine computes eigenvalues and eigenvectors.

Command statements perform special processing, such as setting options, displaying windows, and handling input and output. For example, the MATTRIB statement associates matrix characteristics with matrix names.