Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Calling C libraries thru Stored procedure in Oracle 8...Help pls...!!
CREATE OR REPLACE PROCEDURE OUTPUTSTRING(p_path IN VARCHAR2, p_mesg IN
VARCHAR2) AS EXTERNAL
LIBRARY STPSHARE
NAME "OUTPUTSTRING"
PARAMETERS (p_path STRING, p_mesg STRING);
BEGIN
OUTPUTSTRING('/home/spoliske/shared/crap','eat crap!');
END;
SQL> exec OutputString('/home/spoliske/shared/crap','eat crap!');
begin OutputString('/home/spoliske/shared/crap','eat crap!'); end;
*
ORA-28576: lost RPC connection to external procedure agent ORA-06512: at "INVOICE.OUTPUTSTRING", line 0 ORA-06512: at line 1
// *Cause: A fatal error occurred in either an RPC network connection,We have no other details about configuration. .Any HELP /details on this would be appreciated.
// the extproc agent, or the invoked 3GL after communication had
// been established successfully.
// *Action: First check the 3GL code you are invoking, and make sure there are
// no network problems. Most likely, the invoked "C" routine is
// terminating abnormally.
// If all components appear to be normal but the problem
// persists, this could be an internal logic error in the transfer
// code. Contact your customer support representative.
=====================================================
regards
Prab Athilat
Senior Database Architect
Newcourt Leasing and Capital
pathilat_at_worldnet.att.net
Received on Fri Dec 04 1998 - 18:23:29 CST
![]() |
![]() |