Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
KarthikGs
Creator
Creator

Unresolved compilation problem: Duplicate local variable tContextLoad

Hi, 
I'm trying to load a context file in to my job as below.
0683p000009MBOg.png
But when i try to run my job, it is throwing this error :

0683p000009MDXJ.png
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,

0683p000009MDIy.png
Any help is appreciated.
Thanks in advance
Labels (2)
2 Replies
Anonymous
Not applicable

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
vapukov
Master II
Master II

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 
0683p000009MDTF.png   0683p000009MDXO.png   0683p000009MCHH.png 

as laternative - define load context globally:
  0683p000009MDPf.png