The SAS/IML language has statements that control program execution. You can use control statements to direct the execution of your program and to define DO groups and modules. Some control statements are shown in the following table:
Table 3.1: Control Statements
Statement |
Description |
---|---|
Specifies a group of statements |
|
Defines an iteration loop |
|
Specifies the next program statement to be executed |
|
Conditionally routes execution |
|
Instructs a module to pause during execution |
|
Exits from the IML procedure |
|
Instructs a module to resume execution |
|
Returns from a LINK statement or module |
|
Executes a module |
|
Defines a module |
|
Stops the execution of an IML program |
See Chapter 6: Programming Statements, for more information about control statements.