Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Read Excel sheet input and count number of records present in each row and provide result success and failure inserting into database

Hello Talend Community,

 

I need to know which component will support to count the number of records inserted success and failure while inserting into database using Excel sheet as input.

 

Please help me any one. It is very important for me.

 

Regards,

P.Surendra.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello manohar B,

 

I did as per your input but in code content of tJava  what should i provide the value.

 

Please give input on same.

Thanks in Advance,

P.Surendra.

View solution in original post

8 Replies
Anonymous
Not applicable
Author

Hello Manohar B,

 

Is there any specific component to use for defining this value 
"The total number of processed files is: "+((Integer)globalMap.get("tOracleOutput_1_NB_LINE_INSERTED"));

Because i am not using any tsendemail component in my requirement so please suggest where i can define 1_NB_LINE, 1_NB_LINE_INSERTED, 1_NB_LINE_UPDATED, 1_NB_LINE_REJECTED like this i need complete output.

 

So please guide me.

 

Best Regards,

P.Surendra. 

manodwhb
Champion II
Champion II

@surendra,you can use tJava component to print that values.

 

 

manodwhb
Champion II
Champion II

@surendra,you can use tJava component to print that values.

 

 

Anonymous
Not applicable
Author

Hello Manohar B,

Thanks for prompt response.

I used same thing in my job but getting an error please have look on screen shot and help me.

 

 

Regards,

P.Surendra.

 

 


erron in job.JPG
jobinsert.JPG
manodwhb
Champion II
Champion II

@surendra,you need to use tjava on component ok of tOracleoutput.

Anonymous
Not applicable
Author

Hello manohar B,

 

I did as per your input but in code content of tJava  what should i provide the value.

 

Please give input on same.

Thanks in Advance,

P.Surendra.

Anonymous
Not applicable
Author

Hi Manohar B,

 

I got solution thanks for helping and encouraging for new people to learn Talend.