PDR4006S
Section, Line number, Column number: An ITERATE DO statement was encountered outside of a DO loop.
What happened: The rule compiler found an ITERATE DO statement outside of a DO loop.
What to do: Remove the ITERATE DO statement or check to see if it needs to be an ITERATE FOR statement.