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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix-script

Re: Unix-script

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Wed, 29 Aug 2001 02:07:37 -0700
Message-ID: <F001.0037ABAC.20010829013526@fatcity.com>

Roland.Skoldblom_at_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_at_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_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 Wed Aug 29 2001 - 04:07:37 CDT

Original text of this message

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