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
Highlighted
Six Stars

Re: Stored Procedure tMSSqlSP does nothing.

I solved the problem,

The database connection were closed before commited.

 

Pierre


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

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

Highlighted
Six Stars

Re: Stored Procedure tMSSqlSP does nothing.

I solved the problem,

The database connection were closed before commited.

 

Pierre

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch