SAS Component Language Dictionary |
Designates a group of statements to be executed as a unit
Category: |
Control Flow
|
Comparisons: |
SAS Statement with limitations in SCL
|
The following forms
of the do-clause are supported:
-
iterative DO
-
executes a group of statements repetitively,
based on the value of an index variable. However, the form DO i=item-1, . . . , item-n is not supported.
-
DO
UNTIL
-
executes a group of statements repetitively
until a condition is true.
-
DO WHILE
-
executes a group of statements repetitively
as long as a condition is true.
The form DO OVER is not supported.
To force the statements in a DO group to
stop executing,
you can use the SCL statements CONTINUE or LEAVE.
For details about the DO statement in the Base SAS language,
see
SAS Language Reference: Dictionary.
CONTINUE
LEAVE
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.