![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0OUIEuaUlp8vxTSDPVd90Iszax8fotBKevZ835dYNEzJcIr7fvkYP4jC7q44p6VszCVDb-CrUONFlAROvHq6VTuW6ac-lFRILTkraz8HfxH4DlLeMwybUGb_Bmg9OP2GfrVdxz221kRiM/s200/cl.png)
Two of the Command Language, CL, commands added to IBM i (AS400) release V5R3 were the DOWHILE and DOUNTIL, and IBM i 6.1 brought us the DOFOR. I have always wanted DO commands as I have resented not being able to write "structure code" in CL as I had to use the GOTO command to create a loop.
I quickly adopted the DOWHILE into my programming, but I have been surprised that, despite bringing it to their attention, that only one of my colleagues uses it. Which is one of the reasons I wanted to create this post to make sure others are aware of them.