Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL*Loader Question
I assume that you problem is not creating the bacth file for the load but
how to run it in the bac\tch mode.
Well, use "at" command of windows NT. It's a scheduler. Provide the batch
file name to run it at a given time.
Joel.
-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Ron Rogers
Sent: Tuesday, August 08, 2000 4:34 PM
To: Multiple recipients of list ORACLE-L
Subject: 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=ORA:\data\par\adsr.par
load sqlload parfile=ORA:\data\par\adsg.par
etc:
and the par file looks like this:
userId=DBAGLC/DBAG1C_at_GLC_DATABASE-TCP
Errors=1
Control=ORA:\DATA\CONTROL\ADSR.ctl
Log=ora:data\log\ADSR0807.log
Bad=ORA:\DATA\BAD\ADSR0807.bad
Discard=ORA:\DATA\DISCARD\ADSR0807.dsc
Data=ORA:\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
-- Author: Lieuallen, David INET: David.Lieuallen_at_UNCO.EDU 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). -- Author: Weaver, Walt INET: wweaver_at_rightnowtech.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). -- Author: Ron Rogers INET: RROGERS_at_galottery.org 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 mayReceived on Tue Aug 08 2000 - 10:18:31 CDT