<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Modify context variable permanently in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292163#M65272</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to modify a context variable within a job, so I can use the newest value of the context variable the next time I run the job?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to use this feature to store the last time the job has run btw.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 16:20:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-23T16:20:26Z</dc:date>
    <item>
      <title>Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292163#M65272</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to modify a context variable within a job, so I can use the newest value of the context variable the next time I run the job?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to use this feature to store the last time the job has run btw.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292163#M65272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T16:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292164#M65273</link>
      <description>&lt;P&gt;Use tContextDump to overwrite the context file with the current values for all the context variables.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292164#M65273</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-23T16:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292165#M65274</link>
      <description>A context file? I'am new to Talend so I don't really know what a context file is, I'am just using the view under my job for setting the context variables and I preferer to keep it this way so I don't have to create other seperate files on my computer.</description>
      <pubDate>Mon, 23 Apr 2018 16:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292165#M65274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T16:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292166#M65275</link>
      <description>&lt;P&gt;This view is usefull only when running jobs from the Studio.&lt;/P&gt; 
&lt;P&gt;As soon as you'll run the jobs from the command line or a scheduler, you'll have to manage 1 or more context files which can be overwritten at runtime bt the jobs.&lt;/P&gt; 
&lt;P&gt;During the development cycle, it's a good practice to use a context file to avoid any surprrise after job deployment.&lt;/P&gt; 
&lt;P&gt;Have a look to the documentation or search for "implicit context" or something like that.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292166#M65275</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-23T16:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292167#M65276</link>
      <description>I tried to override the context variable with a tJava but when i use a tContextDump it stills printing the old value in the file. How I can overcome this?</description>
      <pubDate>Tue, 24 Apr 2018 15:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292167#M65276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-24T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292168#M65277</link>
      <description>&lt;P&gt;Share your job design and tJava piece of code&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 16:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292168#M65277</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-24T16:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292169#M65278</link>
      <description>I have tried tcontextDump with tjavaRow and tContextLoad.
&lt;BR /&gt;The log is succesfull but after running the job the context variable does not get updated...
&lt;BR /&gt;
&lt;BR /&gt;The idea is to store in the context variable the last time the job run in order to load only the delta</description>
      <pubDate>Wed, 21 Nov 2018 18:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292169#M65278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T18:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modify context variable permanently</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292170#M65279</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaptureTL.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Tr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147092i003033DC8CAD46BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Tr.png" alt="0683p000009M1Tr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The code of tJavaRow is the following:&lt;/P&gt; 
&lt;P&gt;output_row.key = input_row.key;&lt;BR /&gt;output_row.value = input_row.value;&lt;BR /&gt;if(output_row.key.contains("date"))&lt;BR /&gt;{&lt;BR /&gt;output_row.value = "Hello";&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 18:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Modify-context-variable-permanently/m-p/2292170#M65279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T18:54:54Z</dc:date>
    </item>
  </channel>
</rss>

