DBPowerSuite has a program called "psBCP" which does return meaningful exit
codes. 0 = success. Everything else is an error. Interanlly, this
program is an Open Client program using the bulk copy API directly.
http://www.dbpowersuite.com
"Tom Brehony" <tomb (AT) lk (DOT) blackbird.ie> wrote
Quote:
I am using bcp 10.0 on an IBM AIX Unix box. Yes it's an old system.
bcp/10.0.4/P/rs6000/AIX 3.2.5/4.1/1/Tue Aug 20 16:03:48 PDT 1996
I am looking for a list of the codes bcp returns to Unix. I have
checked on the various Sybase web sites and cannot find a reference to
these anywhere.
I'm assuming 0 for successful completion, and non-zero for specific
errors.
What about an operation that completes with a warning, would that give
a 0 return code?
Any pointers / advice would be appreciated, thanks!
Tom. |