Unresolved compilation problem: Duplicate local variable tContextLoad

Seven Stars

Unresolved compilation problem: Duplicate local variable tContextLoad

Hi, 
I'm trying to load a context file in to my job as below.

But when i try to run my job, it is throwing this error :


The error says, there is duplicate variable being created in the tContextLoad. It was working fine in the morning all of a sudden this has happened.
 Here is the code which is causing the error,


Any help is appreciated.
Thanks in advance
Moderator

Re: Unresolved compilation problem: Duplicate local variable tContextLoad

Hi,
You should post the whole job as screenshot. With this picture, it is a little hard for us to see your work flow.
From your screenshot, we see there is no connector(OnSubjobOK or OnComponentOk) between your subjobs. Could you please take a look at it?
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.
Forteen Stars

Re: Unresolved compilation problem: Duplicate local variable tContextLoad

Not very clean - how  You try define context keys and values?
normally tContextLoad load input flow (key, value) from file/database 
context variables must be defined already, and component just load data into variables, and it work like a charm 
     

as laternative - define load context globally:
 
-----------

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

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now