ener.hlp (Topic list)
EXIT DO not within DO...LOOP
■ An EXIT DO statement is used outside a DO...LOOP
  statement.
 
■ Possible solution:
 
  • Delete the EXIT DO statement or reposition it within a
    DO...LOOP structure.
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.