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

x

sql loader return codes - shell

crystalguy2000
on
Medium Priority
1,466 Views
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.
Comment
Watch Question


You can viisit :

http://www.cs.umbc.edu/help/oracle8/server.815/a67792/ch06.htm#1956

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  
 EX_SUCC  
 
All/some rows rejected  
 EX_WARN  
 
All/some rows discarded  
 EX_WARN  
 
Discontinued load  
 EX_WARN  
 
Command line/syntax errors  
 EX_FAIL  
 
Oracle errors fatal to SQL*Loader  
 EX_FAIL  
 
OS related errors (like file open/close, malloc, etc.)  
 EX_FTL  
 
 


For UNIX the exit codes are as follows:

EX_SUCC      0
EX_FAIL      1
EX_WARN      2
EX_FTL      3


Rgds,
HR

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.

OR

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.