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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).