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: async calls using OCI ?

Re: async calls using OCI ?

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 1998/02/28
Message-ID: <34fb6fee.17501936@192.86.155.100>#1/1

A copy of this was sent to Savyasachi Jog <jog_at_tcsi.com> (if that email address didn't require changing) On Fri, 27 Feb 1998 11:53:00 -0800, you wrote:

>Do OCI libraries provide asynchronous call mechanism ?
>

From the OCI guide:

<quote>
Before Oracle7 Server, Release 7.2, connections between Oracle and an OCI program were only in blocking mode. Release 7.2 included a new nonā€“blocking mode.

Note: To use the nonā€“blocking feature with Oracle7 Server release 7.2, you need version 7.2 of the OCI libraries and version 2.2 of SQL*Net. To use the nonā€“blocking feature with Oracle7 Server release 7.3, you need version 7.2 or 7.3 of the OCI libraries and version 2.3 of SQL*Net. Release 7.3 of the OCI libraries is not compatible with release 7.2 of the Server. Nonā€“blocking calls are not supported against release 7.1 or earlier of the Server.

The nonā€“blocking mode returns control to an OCI program so that it may perform other computations while the OCI call is being processed by the server. This mode is particularly useful in Graphical User Interface (GUI) applications, realtime applications, and in distributed environments.

The following three OCI routines are used specifically with nonā€“blocking connections:

o ONBTST, to test whether a database connection is in blocking or nonā€“blocking mode

o ONBSET, to place a database connection in nonā€“blocking mode for all subsequent OCI calls on that connection

o ONBCLR, to place a database connection in blocking mode

</quote>

>If so, which versions ?
>
>Thanks
>Sachin
 

Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Bethesda MD  

http://govt.us.oracle.com/ -- downloadable utilities  



Opinions are mine and do not necessarily reflect those of Oracle Corporation  

Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Sat Feb 28 1998 - 00:00:00 CST

Original text of this message

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