3

I have following 3 control files which I have to execute on my DB server-

  1. X.ctl
  2. Y.ctl
  3. Z.ctl

I know the command to execute them one by one which is as follows -

sqlldr PP_DBUSER/PP_DBUSER control=X.ctl log=X.log

However, can anybody tell me if it is possible to execute all the 3 files with one command?

3 Answers 3

2

No sir, You cannot.
But you can run 3 instances of sqlldr concurrently, each with a diffrent control file.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you so much sir. Can you please elaborate on "run 3 instances of sqlldr concurrently" with an example. Thanks a ton!
You just open three different cmd windows and run in each of them a different sqlldr
0

I believe @Daniel is correct and you cannot execute multiple .ctl files with a single sqlldr command; however, you can put multiple sqlldr commands in one batch/script file and run a single command to execute. This works well if this will need to be repeated multiple times.

Comments

0

Execute in CMD:

for %i in (*.ctl) do sqlldr user/pass@tns control=%~ni.ctl log=%~ni.log

or

for %%i in (*.ctl) do sqlldr user/pass@tns control=%%~ni.ctl log=%%~ni.log

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.