Stored Procedure tMSSqlSP does nothing.

Six Stars

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.

 

mssqlsp.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.

 

 

component.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


Accepted Solutions
Six Stars

Re: Stored Procedure tMSSqlSP does nothing.

I solved the problem,

The database connection were closed before commited.

 

Pierre


All Replies
Highlighted
Employee

Re: Stored Procedure tMSSqlSP does nothing.

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 :-)


Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for spending their time for your query. If your query is answered, please mark the topic as resolved :-)
Six Stars

Re: Stored Procedure tMSSqlSP does nothing.

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

Six Stars

Re: Stored Procedure tMSSqlSP does nothing.

I solved the problem,

The database connection were closed before commited.

 

Pierre

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.