Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL*Loader Question
How about a batch file that runs the sqlloader with a parameter file/s? We =
use Novell batch file to run our daily data load procedures and it works =
great. the batch file looks like this:
load sqlload parfile=3DORA:\data\par\adsr.par
load sqlload parfile=3DORA:\data\par\adsg.par
etc:
and the par file looks like this:
userId=3DDBAGLC/DBAG1C_at_GLC_DATABASE-TCP
Errors=3D1
Control=3DORA:\DATA\CONTROL\ADSR.ctl
Log=3Dora:data\log\ADSR0807.log
Bad=3DORA:\DATA\BAD\ADSR0807.bad
Discard=3DORA:\DATA\DISCARD\ADSR0807.dsc
Data=3DORA:\DATA\DATA\ADSR\ADSR0807.dat
All 14 of the database loads are kicked off from one command.
Hope this helps.
Ron Rogers
DBA OCP
Atl.GA
>>> wweaver_at_rightnowtech.com 08/07/00 04:46PM >>>
In Unix, I have a number of shell scripts I use to populate 50-60 tables
using sqlloader. I can send you an example if you'd like. I'm sure you can
do the same thing in NT with a .bat file, or whatever.
--Walt Weaver
Bozeman, Montana, USA
-----Original Message-----
Sent: Monday, August 07, 2000 12:05 PM
To: Multiple recipients of list ORACLE-L
Is there a way to execute SQL*Loader in batch mode? I would like to =
script
the loading of several tables using SQL*Loader but I cannot find any
documentation on the subject. I'm on Oracle 8.1.5 and Windows NT. I can
invoke a sqlldr command from the windows command prompt successfully but
batch mode would be much better. Thanks in advance.
David Lieuallen
--=20
Author: Lieuallen, David
INET: David.Lieuallen_at_UNCO.EDU=20
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). --=20
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 Aug 08 2000 - 08:23:43 CDT