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

Home -> Community -> Usenet -> c.d.o.server -> Re: Calling External Procedures

Re: Calling External Procedures

From: Mark Intrieri <mark_at_dtgroup.com>
Date: Wed, 9 Dec 1998 13:11:39 -0500
Message-ID: <74majj$qj8$1@news.dtgroup.com>


I forgot to add that I am using Oracle8 on solaris and I am new to oracle.

Could I be missing something obvious?

Mark

Mark Intrieri wrote in message <74jmvg$rmh$1_at_news.dtgroup.com>...
>Hi,
>
>I've created an external procedure which I would like to call.
>The problem is that the database seem to freeze when I execute the
>procedure.
>
>I've issued the create library statement successfully.
>
>CREATE LIBRARY jr_mail AS '/usr/local/lib/libJRmail.so';
>
>I've successfully created a function.
>
>CREATE FUNCTION CREATE_ACCT(acct IN CHAR)
>RETURN BINARY_INTEGER AS EXTERNAL
>LIBRARY jr_mail
>NAME "accountCreate"
>LANGUAGE C;
>
>I've successfully created a stored procedure.
>
>CREATE PROCEDURE TEST(acct IN CHAR) IS
> rtn BINARY_INTEGER
>BEGIN
> rtn := CREATE_ACCT(acct);
>END;
>
>When I attempt to execute the TEST procedure, the SQL worksheet application
>freezes.
>
>Any ideas?
>
>Thanks in advance,
>Mark.
>
>
>
>
>
Received on Wed Dec 09 1998 - 12:11:39 CST

Original text of this message

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