Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-01001 => Help !!!

Re: ORA-01001 => Help !!!

From: Wim Valgaeren <valgaeren_at_softhome.net>
Date: Wed, 27 Oct 1999 14:40:48 +0100
Message-ID: <7v6rg3$l1c$1@naxos.belnet.be>


I found this information. I hope it helps...

ORA-01001 invalid cursor

Cause: Either a host language program call specified an invalid cursor, or the values of the AREASIZE and MAXOPENCURSORS options 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 AREASIZE and MAXOPENCURSORS options before precompiling.

JPK <jpkeim_at_dial.oleane.com> wrote in message news:01bf2064$824bfe20$1c116ac1_at_n18...
> Hi,
>
> I have to re-write some old softs (in C) using Oracle (an old version).
>
> I have to use ORACLE 8i.
>
> I'm new with oracle (8i) and I have a problem with a cursor :
>
> => I open my connection
> => I open my cursor (oopen)
> => I parse with the request (oparse)
> => I bind my data (obndrv)
> => I execute (oexec)
>
> No problem until here...
>
> => I commit ! (ocom)
> then it returns "-1001" instead of "0".
> I don't understand why... All my modifications are correctly done but
> "commit" give this error.
>
> Can you tell me something about that ?
> => I have two cursors in this soft.
> => ORACLE 8i has been recently installed, is there a possibility of a bad
> installation ?
>
> thank you.
>
> JPK
>
>
>
>
>
Received on Wed Oct 27 1999 - 08:40:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US