DB2 Version 10.1 for Linux, UNIX, and Windows

Loops (PL/SQL)

Use the EXIT, FOR, LOOP, and WHILE statements to repeat a series of commands in your PL/SQL program.