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