From sfaroult@oriole.com Wed, 29 Aug 2001 02:07:37 -0700 From: Stephane Faroult Date: Wed, 29 Aug 2001 02:07:37 -0700 Subject: Re: Unix-script Message-ID: MIME-Version: 1.0 Content-Type: text/plain Roland.Skoldblom@ica.se wrote: > > Hallo, > > Can anyone give me an eaxmple of a iunix script, which checks if the file in >unixsystem exists > and if it does then it runs th esqlloader script, which loads data into a database >table.? > Thanks in advance. > > Roland > There is a script named upload.ksh on the Oriole site which does more than this (it has been written to run a number of loads in parallel, and to work with a matching download.ksh). You may find it a bit hard to swallow if you are still struggling with script programming, but it contains bits which will certainly be of interest to you, such as extensive error checking, rebuilding of invalidated indexes if a direct load fails and automated restart of the load in conventional mode, etc. -- Regards, Stephane Faroult Oriole Corporation ------------------------------------------------------------------ http://www.oriolecorp.com, designed by Oracle DBAs for Oracle DBAs ------------------------------------------------------------------ -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephane Faroult INET: sfaroult@oriole.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@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).