The SAS/IML language resolves functions in the following order:
Functions built into SAS/IML software
User-defined SAS/IML modules that exist in the current environment
Function in the STORAGE library, if it is open
SAS DATA step functions
Functions in the IMLMLIB library
The SAS/IML language resolves subroutines that are called by using the CALL statement in the following order:
Subroutines built into SAS/IML software
User-defined SAS/IML modules that exist in the current environment
Subroutines in the STORAGE library, if it is open
SAS DATA step subroutinesa
Subroutines in the IMLMLIB library
The SAS/IML language resolves subroutines that are called by using the RUN statement in the following order:
User-defined SAS/IML modules that exist in the current environment
Subroutines in the STORAGE library, if it is open
Calls that are built into SAS/IML software
SAS DATA step subroutines
Subroutines in the IMLMLIB library