By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,353 Members | 1,277 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,353 IT Pros & Developers. It's quick & easy.

Invalid Cursor Error while inserting data in a table.

P: 1
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 ?
Dec 22 '10 #1
Share this Question
Share on Google+
1 Reply


amitpatel66
Expert 100+
P: 2,367
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.
Dec 30 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.