PL/SQL error message "ORA-01023: Cursor context not found " [message #2346] |
Mon, 08 July 2002 11:56 |
Hari Velugoti
Messages: 2 Registered: July 2002
|
Junior Member |
|
|
Hi all,
I am getting this error message when running my program. This is the background :
I have a dynamic sql running. Within the sql_fetch I have another EXEC SQL block (that does a simple INSERT). There is no problem the very first time.
I retrieve data from my dynamic sql fetch and insert it in a table. However, the second time around I get the following error ""ORA-01023: Cursor context not found (Invalid cursor number)".
I am using ProC here. We have another module wherein the same Dynamic SQL and SQL block work fine. Any pointers on what could be wrong ?
Thanks in advance.
Hari
|
|
|
|
|