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