Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Calling a libary on unix from oracle 7.3.4
I know that I can include bij using -l in compiling. But for example I hanve
made a libary with as function to make the incomming character capitilized
and returns the capitilized character:
file test.c
#include <stdio.h>
char caps(input)
char input;
{ return toupper(input); }
--
cc -c test.c
ar -v -q libtest.a test.o
So now the libary libtest.a can be called if I link it with another program. My question is: can I call this libary from an oracle stored procedure. (ofcourse this function excists in oracle, but my function is to specific to explain !)
Thanks Leo
Kenneth C Stahl <BlueSax_at_Unforgettable.com> wrote in message
news:37F0BABF.825428D7_at_Unforgettable.com...
> All you are talking about there is storing object modules in a library
> which can then be used during the link step of a build. That really isn't
> an Oracle concern. All you need to do is just include the location of the
> library in your -L list.
>
> Leo van Veen wrote:
> >
> > That's right, for example
> > cc -c test.c
> > ar -v -q libtest.a test.o
> >
> > Kenneth C Stahl <BlueSax_at_Unforgettable.com> wrote in message
> > news:37EFAFCD.A6E640DF_at_Unforgettable.com...
> > > Can you define what you mean by library? Do you mean a file that is
> > created
> > > and maintained with 'ar'?
> > >
> > > Leo van Veen wrote:
> > > >
> > > > I'm looking for a solution to call a unix libary from Oracle 7.3. I
want
> > to
> > > > send data to the libary and read date from the libary.
> > > >
> > > > Is this possible.
> > > >
> > > > If it isn't, Is it possible to use named pipes to send and retrieve
data
> > > > from Oracle to an external application ?
> > > >
> > > > Thanks Leo van Veen
> > > > leovveen_at_planet.nl
Received on Wed Sep 29 1999 - 05:32:32 CDT
![]() |
![]() |