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

Home -> Community -> Usenet -> c.d.o.tools -> External Procedure

External Procedure

From: GoPahDoo <gopahdoo_at_my-deja.com>
Date: 2000/02/10
Message-ID: <87veo4$1rc$1@nnrp1.deja.com>#1/1

running

   Unix Solaris
   Oracle 8i (8.1.5)



I want to execute a Unix shell script from within Oracle Procedure. Is this possible? I can not get it to work.

Let's say I have a Unix shell script call "test.sh". Within "test.sh" is an "echo Hello" statement. I've been trying to run this script from Oracle using an external call to C 'system("test.sh");' but can't get it to work.

C's system errored out by returning a number 256 instead of 0 (zero) - zero if command ran successfully.

Please let me know. Thanks.

--
Shawn Huynh


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Feb 10 2000 - 00:00:00 CST

Original text of this message

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