Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Nesting loops z/OS TSO/E CLISTs SA32-0978-00 |
|
The action of a loop can contain other loops. Loops within loops are called nested loops. Loops can contain nested loops of the same type or of a different type. Nested loops of the same type are often iterative DO-loops within
other iterative DO-loops. For example, to execute 100 CLISTs named
PROC00 through PROC99, you can code:
Nested loops of a different type are often DO-UNTIL loops within
DO-WHILE loops, for example:
|
Copyright IBM Corporation 1990, 2014
|