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

Home -> Community -> Usenet -> c.d.o.tools -> OCI call return codes?

OCI call return codes?

From: Brad Lotsberg <lotsberg_at_willowglen.ab.ca>
Date: 2000/05/05
Message-ID: <39130AAD.8587B6F6@willowglen.ab.ca>#1/1

Hi all. Does anyone know of a list detailing which OCI return codes can be returned from each OCI call and what each one means for that particular call? The OCI documentation obviously has a list of all the possible return codes, but does not detail what each call can/will return under different conditions.

For example, it was only by chance while reading a code example that I figured out that OCILobRead() will return OCI_SUCCESS for the last piece of data retrieved when getting data by polling. The documentation only mentioned
a return code of OCI_NEED_DATA if there was additional data to get but was unclear whether this was also returned for the last piece or if I might also expect OCI_NO_DATA at some point. There have been other examples as well where it is unclear what return codes to expect under different situations (not just for LOB functions).

My platform is Oracle8i 8.1.5 on Sparc Solaris 7

Thanks in advance,

Brad Lotsberg, EET. Received on Fri May 05 2000 - 00:00:00 CDT

Original text of this message

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