Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Calling a libary on unix from oracle 7.3.4

Re: Calling a libary on unix from oracle 7.3.4

From: Leo van Veen <leovveen_at_planet.nl>
Date: Wed, 29 Sep 1999 12:32:32 +0200
Message-ID: <7sspv8$2ao$1@news1.xs4all.nl>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US