tstatcather and tdie

Highlighted
Five Stars

tstatcather and tdie

Hi Experts ,
Thanks in advance. In my job I'm using tstatcather to load stats in a DB, where I'm configuring db using context variables . In the prejob I'm reading this context variables from a file . After this I'm having check as if the context variables are not empty continue the process, else I'm using tdie .
While I'm running the above job, I'm getting error on the db component which I'm using for loading the statistics and also couldn't find the error message of tdie when I test for the scenario when the context values are empty. My understanding is that tstatcatcher tries to load the data even when the program is initiated .
NOTE- I've tried giving kill jvm setting on the advanced setting tab of tstatcather.

Thanks,
Karthik

Highlighted
Eight Stars

Re: tstatcather and tdie

What database error are you getting? Can you post a screenshot of your job?

Highlighted
Moderator

Re: tstatcather and tdie

Hi,

Are you using  tContextload or implicit tContextLoad in your job?

What's the error message you are getting?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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