Sharing 1 OCI connection between 2 programs

From: Beckers Gunter <Gunter.Beckers_at_libis.kuleuven.ac.be>
Date: 1997/10/09
Message-ID: <61iffd$bfp_at_chaos.kulnet.kuleuven.ac.be>#1/1


Hey,

I try to write c-prog's on a AIX 4.1 using OCI and Oracle server 7.3.2 .

Is it possible to use one OCI-connection in two independent processes ?

I mean:

   Can I share one LDA-HDA pair between two programs

   Program 1 call ORLON and make a connection to oracle

   Program 2 use the connection made with Program 1 (Program 2 DO NOT call ORLON again)

Have somebody a tip to do this ?

--

+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+

| Gunter Beckers
|
| K.U.Leuven LIBIS-Net Tel : +32 16 32.22.67
|
| W. de Croylaan, 52 b Fax : +32 16 32.29.81
|
| B - 3001 HEVERLEE e-mail: gunter.beckers_at_libis.kuleuven.ac.be
|
| BELGIUM WWW : http://www.libis.kuleuven.ac.be/libis/
|
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
Received on Thu Oct 09 1997 - 00:00:00 CEST

Original text of this message