Re: OCI Example?

From: Al Parker <al_at_cvgis.prime.com>
Date: Wed, 17 Mar 1993 03:01:40 GMT
Message-ID: <1993Mar17.030140.15718_at_cvgis.prime.com>


In article <1993Mar16.092737.931_at_netcom.com> tssmith_at_netcom.com (Tim Smith) writes:
>In article <1993Mar15.160816.1623_at_cvgis.prime.com> al_at_cvgis.prime.com (Al Parker) writes:
>>On a related point,
>>With ORACLE V7, there does not seem to be an example of a program which
>>mixes both Pro*C and OCI calls.
>
>Al,
>
>I'm the writer on the V6 and V7 OCI manuals, and I can assure you that
>SQLLDA was tested. I tested it on both V6 and V7, and our QA suite
>also exercised it. It worked on both versions. I've included a V7
>test program below that you can try. Let me (or better, your support
>people) know if this doesn't work for you. One thing you will need to
>do is make the included .h files, such as oratypes.h., ocidfn.h, and
>ocidem.h available. These are included with the OCI ORACLE7
>distribution.
>
>I tested this on VMS, but it should work on any platform.
>
>Your message makes me think that we should include this sample program
>in future manual releases. Consider it done.

Hi Tim,
I appreciate the quick response and the sample program - you're right it does work (perfectly and as documented) - I had the lda and cda pointers reversed in the argument list of my oopen() call.

>The way it (should) work is this: when you buy the kernel, you get the
>OCI libraries, but not the manual. You have to order that separately
>(the part number is 5411-70-1292). When you buy the procedural option
>with one or more precompilers, you should get the relevant precompiler
>manuals. If not, contact your sales person and gripe.
>
>--Tim (tssmith_at_oracle.com)

We did purchase the Procedural Option and we did receive Pro*C and OCI manuals with V6 - I was led to believe that the V7 manuals aren't ready yet...

-- 
---------------------------------------------------------
Al Parker, P.Eng, Sr S/W Eng - Computervision GIS
45 Vogell Road, 7th Floor           | al_at_cvgis.prime.com
Richmond Hill, Ont, CANADA, L4B 3P6 | (416)508-8020(x881)
Received on Wed Mar 17 1993 - 04:01:40 CET

Original text of this message