We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


sql loader return codes - shell

Medium Priority
Last Modified: 2008-02-20
I am executing a sql loader script from within a vbs file utilizing the wscript.shell Object.

x = createObject(wscript.shell)
retcode= x.run (sqlloader string)

What are the possible return codes. [Are there any other codes except 0,1,2,3 ]
Any help is appreciated.
Watch Question

You can viisit :


Exit Codes for Inspection and Display
Oracle SQL*Loader provides the results of a SQL*Loader run immediately upon completion. Depending on the platform, as well as recording the results in the log file, the SQL*Loader may report the outcome also in a process exit code. This Oracle SQL*Loader functionality allows for checking the outcome of a SQL*Loader invocation from the command line or script. The following load results return the indicated exit codes:

Result  Exit Code  
All rows loaded successfully  
All/some rows rejected  
All/some rows discarded  
Discontinued load  
Command line/syntax errors  
Oracle errors fatal to SQL*Loader  
OS related errors (like file open/close, malloc, etc.)  

For UNIX the exit codes are as follows:

EX_SUCC      0
EX_FAIL      1
EX_WARN      2
EX_FTL      3


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.