ener.hlp (Topic list)
DO without LOOP
■ The terminating LOOP clause is missing from a DO...LOOP
  statement.
 
■ Possible solutions:
 
  • Insert the LOOP keyword at the end of the DO...LOOP
    structure.
 
  • Check other control structures within the DO...LOOP block
    to verify that they are correctly matched.
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.