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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Calling Host

RE: Calling Host

From: Thomas, Kevin <Kevin.Thomas_at_calanais.com>
Date: Tue, 18 Dec 2001 02:31:58 -0800
Message-ID: <F001.003DEC51.20011218011234@fatcity.com>

This is something that has appeared on this list a few times. If you check the archives, I posted an explanation on how to do this using a couple of shell scripts and a stored procedure.

Regards,
Kev.

-----Original Message-----
Sent: 17 December 2001 20:35
To: Multiple recipients of list ORACLE-L

Hi Listers,

Can we call operating system command from store procedure or trigger ? I have created the following simple store procedure :

CREATE OR REPLACE PROCEDURE PROCTES is
begin
HOST('ls');
end;

But I got the error :
Line # = 3 Column # = 6 Error Text = PLS-00201: identifier 'LS' must be declared
Line # = 3 Column # = 1 Error Text = PL/SQL: Statement ignored

Thanks for any clue.

Aldi



Send and receive Hotmail on your mobile device: http://mobile.msn.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Aldi Barco
  INET: ipal_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Thomas, Kevin
  INET: Kevin.Thomas_at_calanais.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Dec 18 2001 - 04:31:58 CST

Original text of this message

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