CALL Statement

CALL name <(arguments)> ;

The CALL statement enables you to call a built-in or user-defined subroutine.

The arguments to the CALL statement are as follows:

name

is the name of a built-in subroutine or a user-defined module.

arguments

are arguments to the module or subroutine.

The CALL statement executes a subroutine. The order of resolution for the CALL statement is as follows:

  1. built-in SAS/IML subroutine

  2. user-defined module

This resolution order is important only if you have defined a module with the same name as a built-in subroutine.

See also the section on the RUN statement.