SQL$HELP72.HLB  —  Errors  SQL_ERRORS, TXNINFORLOOP
  Transaction statements not allowed in FOR loops

  Explanation:  You have used a transaction statement (SET
  TRANSACTION, COMMIT, ROLLBACK) in a FOR loop.

  User Action:  You cannot use transaction statements in FOR
  loops.
Close Help