Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Calling Host
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
--
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
![]() |
![]() |