SQL$HELP72.HLB  —  Errors  SQL_ERRORS, CURSTMTTXN
  Cursor statements must be executed in the same transaction

  Explanation:  The statement was executed in the wrong
  transaction.  A cursor statement, such as FETCH, INSERT
  (positioned), UPDATE (positioned), DELETE (positioned), OPEN
  (list cursor) must be executed in the same transaction as the
  OPEN statement of the cursor to which the statement refers.

  User Action:  If a context structure was used for the OPEN
  statement, the same one must be used for the statements which
  operate on the cursor.  If no context structure was used for the
  OPEN statement, no context structure may be used for the
  statements which operate on the cursor.
Close Help