Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-06521: PL/SQL: Error mapping function
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