Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Call Cobol from PL/SQL
In article <ArHw3.1153$tp2.978_at_news.ipass.net>,
"David Sisk" <davesisk_at_ipass.net> wrote:
> Actually, not quite true. You *could* write a DLL in C calls
launches the
> COBOL program as yet another external process. Not particulary
efficient,
> but I can't think of any reason it wouldn't work....
>
<snip>
--
No need to write an intermediate program in C. As long as the Cobol
pgm is written with the correct calling convention, it can be called
directly by any language that can call a routine written in C. As a
matter of fact, I have some DLL's I wrote in cobol that are being
called by both PowerBuilder and VisualBasic in exactly the same way
they call Windows API functions.
Ed Stevens
(Opinions are not necessarily those of my
employer)
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Wed Aug 25 1999 - 07:22:18 CDT