SAS Component Language Dictionary |
Category: | Control Flow |
Comparisons: | SAS Statement with limitations in SCL |
Syntax | |
Details | |
See Also |
Syntax |
DO do-clause; |
END; |
Details |
The following forms of the do-clause are supported:
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.
executes a group of statements repetitively until a condition is true.
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.
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.