Programming Statements |
Modules are used for two purposes:
A module always begins with a START statement and ends with a FINISH statement. Modules can be thought of as being either functions or subroutines. When a module returns a single parameter, it is called a function and is executed as if it were a built-in IML function; a function is invoked by its name in an assignment statement rather than in a CALL or RUN statement. Otherwise, a module is called a subroutine, and you execute the module in either the RUN statement or the CALL statement.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.