Re: How to Write OCI Calls for Oracle 8i in COBOL?

From: Billy O'Connor <billy_at_dpscon.com>
Date: Sat, 27 Apr 2002 18:42:28 GMT
Message-ID: <m3elh1m19b.fsf_at_dpscon.com>


psshiva_at_hotmail.com (Sivakumar S) writes:

> Hello,
>
> Thanx for the message. we use MF COBOL Compiler. However we are
> planning the COBOL Can make use of the OCI Libraries of Oracle(8i) for
> COBOL (??) and
> make calls to it. But is it possible? If, then any sample code is
> hightly appreciated. All we could get from is only the OCI for C or
> C++ samples/sites.
>
> However, looks like you are suggesting to call a external C Function
> from COBOL and do this activity. That is acceptable. But Can we avoid
> C in this scenario? I am looking at maintainence and support point of
> view as well.

You won't have to write any C code, you can just link to the oracle OCI libraries from your COBOL app. I remember an example program that shipped with Micro Focus COBOL that demonstrated linking a C module to a COBOL one. Received on Sat Apr 27 2002 - 20:42:28 CEST

Original text of this message