Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Stored Procedure tMSSqlSP does nothing.

Hello,

 

I have a problem on my Talend DI job (6.3.1)

 

I need to pass values from a csv file to a StoredProcedure (that basically does an insert on the database)

The problem is that nothing happen, not even an error log, the inserts are not done.

 

0683p000009M2FG.png

The tlogrow show me the good data inserted.

 

My Stored Procedure works when launched manually, and it works on foreign jobs. So there is something i missed.

 

 

0683p000009M2FL.png

The strored procedure needs the following parameters : 

@a as CHAR(12) ,
@b as VARCHAR(100), 
@c  as TINYINT, 
@d as BIGINT, 
@e as INT,
@f  as INT, 
@g as VARCHAR(100), 
@h as BIGINT = NULL, 
@i as INT = NULL, 
@j as TINYINT = 6, 
@k as TINYINT = 1 

 

 

Thank you.

 

Pierre

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I solved the problem,

The database connection were closed before commited.

 

Pierre

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi Pierre,

 

     Since I could not see the full stored procedure, we will not be able to see where the data is getting skipped. If it is a straightforward insert to database, why don't you use tOracleOutput after doing the transformations using tMap?

 

     In this way, we can easily segregate good and bad records using Talend's Graphical UI interface.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Hi,

 

I sent you the stored procedure in private message, but it was proved that stored procedure works.

Also the use of the stored procedure is a mandatory.

 

Pierre

Anonymous
Not applicable
Author

I solved the problem,

The database connection were closed before commited.

 

Pierre