SQL$HELP_OLD72.HLB  —  Errors  SQL_ERRORS, RET_NO_POS
  A RETURNING clause cannot be used with a positioned UPDATE
  statement

  Explanation:  A RETURNING clause was used with a
  positioned-UPDATE statement.

  User Action:  Use either a searched-UPDATE statement or the
  FETCH statement to fetch the cursor after the update.
Close Help