Invalid Cursor Error while inserting data in a table.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Amey Morye
    New Member
    • Dec 2010
    • 1

    Invalid Cursor Error while inserting data in a table.

    one System A is sending messages to System B in TLV format over MQ.
    outgoing table column of System A is CLOB
    Incoming table column of system B is LONG.

    When the messages which reach the MQ of System B are inserted in the incoming table of system B an error
    "ORA-01001: invalid cursor" is thrown and the message is not getting inserted.

    Could anyone let me know how to overcome this error ?
  • amitpatel66
    Recognized Expert Top Contributor
    • Mar 2007
    • 2358

    #2
    ORA-01001: invalid cursor

    Cause: Either a host language program call specified an invalid cursor or the value of the MAXOPENCURSORS option in the precompiler command were too small. All cursors must be opened using the OOPEN call before being referenced in any of the following calls: SQL, DESCRIBE, NAME, DEFINE, BIND, EXEC, FETCH, and CLOSE. The Logon Data Area (LDA) must be defined by using OLON or OLOGON. If the LDA is not defined, this message is issued for the following calls: OPEN, COM, CON, ROL, and LOGOFF.

    Action: Check the erroneous call statement. Specify a correct LDA area or open the cursor as required. If there is no problem with the cursor, it may be necessary to increase the MAXOPENCURSORS option value before precompiling.

    Comment

    Working...