FOCUS AREAS

SAS/IML Control Functions and CALL Subroutines

The following functions and CALL subroutines are useful for controlling the flow of statement execution in a SAS/IML program:

 

Control Functions

Function Purpose
APPLY applies a module to arguments
VALUE assigns values by indirect reference

 

Control CALL Subroutines

CALL Subroutine Purpose
EXECUTE executes statements at run time
PUSH pushes statements to the beginning of the command input stream
QUEUE queues statements at the end of the command input stream
VALSET performs indirect assignment