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

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

Calling Host

From: Aldi Barco <ipal_at_hotmail.com>
Date: Mon, 17 Dec 2001 12:42:39 -0800
Message-ID: <F001.003DE5D1.20011217123529@fatcity.com>

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). Received on Mon Dec 17 2001 - 14:42:39 CST

Original text of this message

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