Link to home
Start Free TrialLog in
Avatar of suhinrasheed
suhinrasheed

asked on

sql loader call

Is it possible to call an sqlloader control file from some script..say any shell scripts or batch scripts...Please explain in detail the possiblities..if you have examples then it would be much appreciated
Avatar of popa_duhu
popa_duhu

maybe this faq will help:
http://orafaq.com/faqloadr.htm
what do you mean call the control file from a shell script ?

or you mean call sqlldr (with the control file as param) from a shell script ?
Avatar of Sujith
The shell script would be as simple as:

# start of script

sqlldr user/pwd@host control=$1

# end of script

and you can call this script from the prompt as

$<script name> <control file name>


OR are you looking for something else?
Avatar of suhinrasheed

ASKER

I am looking for creating a batch job that executes a Sql loader process?

Is it Possible..any examples
What i exactly want is that i have a sqloader process being called from a .bat file.
Now i want to know whether i can call this .bat file from an Oracle job.

My Oracle version is 9.2.0.7
ASKER CERTIFIED SOLUTION
Avatar of Sujith
Sujith
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial