TPT Load errors, exit code

Tools

TPT Load errors, exit code

Hi, hopefully an easy to answer question; currently TPT is exiting with a status code of 0 even if rows have been sent to one of the error tables during loading.  Can I get TPT to return a non-zero return code in this case, as otherwise the fact that there are errors could be missed.  

2 REPLIES
Teradata Employee

Re: TPT Load errors, exit code

Currently, TPT cannot return a non-0 return code if there are rows in one of the error tables.

But we are considering an attribute to the operator in which the user could tell us that they would like the return code to be non-0.

-- SteveF

Re: TPT Load errors, exit code

I think that would be a good feature, thanks.  My workaround is to parse the TPT output to compare the count of rows sent to the rdbms against the count of rows applied