[resolved] tOracleOutput / NB_LINE_REJECTED

Highlighted
One Star

[resolved] tOracleOutput / NB_LINE_REJECTED

I am testing the variable NB_LINE_REJECTED: ((Integer)globalMap.get("tOracleOutput_1_NB_LINE_REJECTED")) of a tOracleOutput. However it is not clear to me how and when this is triggered. I am receiving ORA-0001 error messages during the run, but the NB_LINE_REJECTED does not seem to respond.
The set-up of sub-job is: tJava --> tFileOutputDelimited
tJava has:
//String foo = "bar";
row28.numberlines = ((Integer)globalMap.get("tOracleOutput_1_NB_LINE"));
row28.inserted = ((Integer)globalMap.get("tOracleOutput_1_NB_LINE_INSERTED")) ;
row28.deleted = ((Integer)globalMap.get("tOracleOutput_1_NB_LINE_DELETED")) ;
row28.rejected = ((Integer)globalMap.get("tOracleOutput_1_NB_LINE_REJECTED")) ;
row28.timestamp = new Date();
NB_LINE and NB_LINE_INSERTED give back values, but not the NB_LINE_REJECTED

Accepted Solutions
Highlighted
One Star

Re: [resolved] tOracleOutput / NB_LINE_REJECTED

Thanks a lot. Configuring the tOracleOutput component in the right way has indeed solved this problem.

View solution in original post


All Replies
Highlighted
Seventeen Stars

Re: [resolved] tOracleOutput / NB_LINE_REJECTED

This count has only values if in the reject flow is used.
The tOracleOutput component provides an reject flow only if:
1. Die On Error is switch of
2. The batch mode is not in use
3. There is a reject flow in use
Highlighted
One Star

Re: [resolved] tOracleOutput / NB_LINE_REJECTED

Thanks a lot. Configuring the tOracleOutput component in the right way has indeed solved this problem.

View solution in original post

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog