sqlldr-how to generate log file for all files loaded [message #626187] |
Wed, 22 October 2014 09:10  |
 |
f150
Messages: 13 Registered: September 2014
|
Junior Member |
|
|
Hi,
I am running Unix shell script (ksh) which loads several files in Oracle db via sqlldr.
i created a loop so each file will be passed on to sqllldr and it will process it, now when I am done processing 1st file I can see the log for first file but it overwrites the log file for 2nd file. I tried to use (>>) append and took the data in another file but name of file wont appear in appended file, i could only get following info in appended file...
SQL*Loader: Release 11.2.0.3.0 - Production on Tue Oct 20 14:06:57 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
logical records count xxxx commint point reached xxxx
logical records count xxxx commint point reached xxxx
logical records count xxxx commint point reached xxxx
logical records count xxxx commint point reached xxxx
while I want this info so I can track which file loaded and which did not loaded with failure reason...
Control File: controlfile.ctl
Data File: samplefilename.csv
Bad File: badfile.bad
Discard File: discard.dsc
(Allow 999 discards)
Total logical records skipped: 1
Total logical records read: 1260125
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Tue Oct 20 14:06:57 2014
Run ended on Tue Oct 20 14:08:31 2014
Elapsed time was: 00:01:34.33
CPU time was: 00:00:13.12
thank you
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|