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: ORA-06521: PL/SQL: Error mapping function

Re: ORA-06521: PL/SQL: Error mapping function

From: mukesh bhakta <mukesh_bhakta_at_hotmail.com>
Date: 8 Apr 2006 04:03:08 -0700
Message-ID: <1144494188.332008.127370@i40g2000cwc.googlegroups.com>


Thanks Frank,

Strange!! I couldn't read the messagel. No the path was right. It was my mistake to not have copy pasted the path in both places.

I think I have found the problem. Here is my change -

create or replace procedure shell(cmd IN varchar2) as external
library shell_lib
name "shell"
language C
parameters (cmd string);

This has fixed the error but I still can't see the resultset coming out of the following code -

extern "C"__declspec(dllexport) void shell(const char *cmd) {

     int num = system(cmd);
} Received on Sat Apr 08 2006 - 06:03:08 CDT

Original text of this message

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