Library /sys$common/syshlp/SQL$HELP72.HLB  —  Errors  SQL_ERRORS, CURUSEINV
  USING clause not allowed for this cursor

  Explanation:  An OPEN or FETCH statement can specify a USING
  clause only for cursors based on a statement named in a PREPARE
  statement.  The cursor specified in this OPEN or FETCH statement
  is not.

  User Action:  Remove the USING clause from the OPEN or FETCH
  statement.
Close Help