<?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 Re: dynamically updating the context variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270583#M48446</link>
    <description>Hi,
&lt;BR /&gt;Thanks for the reply..
&lt;BR /&gt; Am able to get the Max(Timestamp) value in my Subjob. Next step would be i have to store it a Context Variable.
&lt;BR /&gt;As suggested i have written a code in tjava_row as 
&lt;BR /&gt;Last_Row_Timestamp=input_row.Timestamp.
&lt;BR /&gt;When i print the context variable value am getting correct output. But, when i use that context variable in Main job where clause as 
&lt;BR /&gt;where Timestamp&amp;gt; "+context.Last_Run_Timestamp+" am getting the following error.
&lt;BR /&gt;The requirement would be get the max(Timestamp) value in the Subjob, store that in a Context Variable(Last_Run_Timestamp)
&lt;BR /&gt;Use that Context Variable in the Main Job(Where Clause) during the Next Run, to get the record greater than the previous run Date.
&lt;BR /&gt; 
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tMSSqlInput_3
&lt;BR /&gt;java.sql.SQLException: Incorrect syntax near '&amp;gt;'.
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:632)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:477)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1304)
&lt;BR /&gt; at dw_dev.copy_of_test_timestamp_child_0_1.Copy_of_Test_Timestamp_Child.tMSSqlInput_3Process(Copy_of_Test_Timestamp_Child.java:1393)
&lt;BR /&gt; at dw_dev.copy_of_test_timestamp_child_0_1.Copy_of_Test_Timestamp_Child.runJobInTOS(Copy_of_Test_Timestamp_Child.java:1777)
&lt;BR /&gt; at dw_dev.copy_of_test_timestamp_child_0_1.Copy_of_Test_Timestamp_Child.main(Copy_of_Test_Timestamp_Child.java:1639)
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job Copy_of_Test_Timestamp_Child ended at 07:26 06/01/2014.</description>
    <pubDate>Mon, 06 Jan 2014 12:38:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-06T12:38:27Z</dc:date>
    <item>
      <title>dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270573#M48436</link>
      <description>Hi, 
&lt;BR /&gt; We are planning to implement the Incremental Extract, our source is SqlServer and Target is Oracle. 
&lt;BR /&gt;In our source DB we have column called timestamp, using this column i have to perform a incremental load. 
&lt;BR /&gt;Each time when the job runs i have to capture the maximum value of the timestamp and i will be using that particular value during my next run dynamically. So i have created a context as Last_Run_Timestamp which should dynamically capture the max value of the Timestamp. 
&lt;BR /&gt;In order to do this, 
&lt;BR /&gt;In the tMSsqlInput component wrote a query as "select max(timestamp) from &amp;lt;tablename&amp;gt;", after that i have made this as input to tjavarow where i wrote a code as 
&lt;BR /&gt;context.Last_Run_Timestamp=row2.Timestamp 
&lt;BR /&gt;but the context is not getting updated...!!! 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Arul 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCDa.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141812i413D653AAC0C34CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCDa.png" alt="0683p000009MCDa.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 24 Dec 2013 12:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270573#M48436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-24T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270574#M48437</link>
      <description>Could you show us the whole job design?&lt;BR /&gt;Did the tJavaRow receive a row (shown in the metrics of the flow to tJavaRow) ?&lt;BR /&gt;The code works only if at least one row will be delivered.</description>
      <pubDate>Tue, 24 Dec 2013 22:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270574#M48437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-24T22:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270575#M48438</link>
      <description>Hi, 
&lt;BR /&gt;Yeah, it is getting 1row as input. In order to verify that i have tried placing a tlogrow component where am getting the one value(i.e) max(timestamp) value. 
&lt;BR /&gt;While defining the context, in the place of default i have entered a timestamp value, if i keep the value as null means am gettin a error in Where Clause of the query which i wrote in the main job. 
&lt;BR /&gt;Code: 
&lt;BR /&gt;Select eventid, viodate,status from &amp;lt;tablename&amp;gt; where timestamp&amp;gt;=context.Last_Run_Date. 
&lt;BR /&gt;Inputs would be very useful. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Arul 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141740iD1B622AE0C54B164/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLM.png" alt="0683p000009MCLM.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 26 Dec 2013 08:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270575#M48438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-26T08:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270576#M48439</link>
      <description>Hi, 
&lt;BR /&gt;The main job will populate some columns from source to target in which am using the condition as 
&lt;BR /&gt; where timestamp&amp;gt;=context.Last_Run_Timestamp. 
&lt;BR /&gt;In the Subjob i have to find the Max(Timestamp) from the source and have to update them to the context variable, so that i will make use of that in the next run to do incremental extract. 
&lt;BR /&gt;The 2nd pic has the value as NULL which comes out from the t_javarow. 
&lt;BR /&gt;But in the place of t_javarow if i place tlogrow means am getting correct output. 
&lt;BR /&gt;The code i wrote in the t_javarow: 
&lt;BR /&gt;context.Last_Run_Timestamp=row2.Timestamp; 
&lt;BR /&gt;I have no clue y am getting the output from t_javarow as NULL. 
&lt;BR /&gt;can u guys help me to resolve this.. 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Arul 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139271iFE7102F0DDA93DB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLW.png" alt="0683p000009MCLW.png" /&gt;&lt;/span&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Fri, 27 Dec 2013 07:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270576#M48439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-27T07:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270577#M48440</link>
      <description>Any one there..??</description>
      <pubDate>Mon, 30 Dec 2013 13:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270577#M48440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-30T13:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270578#M48441</link>
      <description>Please take care the schema of your tMASqlInput_2 component fits exactly to the result field of the query. The matching between the result set fields and the schema columns will be done by the position not by the name! 
&lt;BR /&gt;And please note, most people from Talend and most users here on vacation currently. This could cause some delays of answers.</description>
      <pubDate>Mon, 30 Dec 2013 14:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270578#M48441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-30T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270579#M48442</link>
      <description>Hi, 
&lt;BR /&gt;Any one there..!! 
&lt;BR /&gt;Will explain my requirement more clearly. My source table has a audit column TimeStamp, In order to perform a incremental load, i need to find the Max(Timestamp) in Each run(Subjob) and will pass this value onto the main job, and the value will be used in the where Clause 
&lt;BR /&gt;code: 
&lt;BR /&gt;where timestamp&amp;gt;=context.Last_Run_Timestamp 
&lt;BR /&gt;in which the context.Last_Run_Timestamp will hold the max(Timestamp) value which is calculated in the Subjob. 
&lt;BR /&gt;tMSSQLinput--tMSSqlOutput 
&lt;BR /&gt; | 
&lt;BR /&gt;subjob ok 
&lt;BR /&gt; | 
&lt;BR /&gt;tMSSQlinput--tmap--tJava_Row 
&lt;BR /&gt;In the subjob tMSSqlInput i wrote a code 
&lt;BR /&gt;select max(Timestamp) from table Name -- tmap -- tJava_Row 
&lt;BR /&gt;In tJava_Row i wrote the code as 
&lt;BR /&gt;code: 
&lt;BR /&gt;context.Last_Run_Timestamp=out1.Timestamp 
&lt;BR /&gt;System.out.println(context.Last_Run_Timestamp) 
&lt;BR /&gt;While i tried Printing the Context.Last_Run_Timestamp am getting the Correct value, but it not reflecting in the 
&lt;BR /&gt;First tMSSQlinput where clause..!! 
&lt;BR /&gt;Help me out to resolve this issue..!! 
&lt;BR /&gt;I have also attached the Screen Shot. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCC4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139664iED74C574061273BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCC4.png" alt="0683p000009MCC4.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC2E.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146290i20F4D367B2F9ACC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC2E.png" alt="0683p000009MC2E.png" /&gt;&lt;/span&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 30 Dec 2013 14:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270579#M48442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-30T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270580#M48443</link>
      <description>updates on this..?
&lt;BR /&gt;Still am facing the same problem..</description>
      <pubDate>Mon, 06 Jan 2014 10:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270580#M48443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-06T10:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270581#M48444</link>
      <description>Hi 
&lt;BR /&gt;To access the input data flow on tJavaRow, the format is as below:
&lt;BR /&gt;
&lt;PRE&gt;context.Last_Run_Timestamp=input_row.Timestamp;&lt;/PRE&gt;
&lt;BR /&gt;I would suggest you to read a KB article: 
&lt;A href="https://help.talend.com/search/all?query=The+difference+between+tJava%2C+tJavaRow+and+tJavaFlex&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;the difference between tJava, tJavaRow and tJavaFlex&lt;/A&gt;
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 06 Jan 2014 11:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270581#M48444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-06T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270582#M48445</link>
      <description>hi, 
&lt;BR /&gt;use load context component for that. 
&lt;BR /&gt;1.read your max value from table 
&lt;BR /&gt;2.store in globalMap with "flow to iterate component" 
&lt;BR /&gt;3. create key,value flow with "fixed flow input" 
&lt;BR /&gt;4. load key,value with context load (context parameter must exist in your context field) 
&lt;BR /&gt;tip : use print operation of contextLoad to validate parameters load to your application 
&lt;BR /&gt; 
&lt;PRE&gt;Starting job truc at 12:07 06/01/2014.&lt;BR /&gt;&lt;BR /&gt; connecting to socket on port 3999&lt;BR /&gt; connected&lt;BR /&gt;tContextLoad_1 set key "max" with value "M308RA4029"&lt;BR /&gt; context max :M308RA4029&lt;BR /&gt; disconnected&lt;BR /&gt;Job truc ended at 12:07 06/01/2014. &lt;/PRE&gt; 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155632iBA14939F75364552/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLg.png" alt="0683p000009MCLg.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 06 Jan 2014 11:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270582#M48445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-06T11:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270583#M48446</link>
      <description>Hi,
&lt;BR /&gt;Thanks for the reply..
&lt;BR /&gt; Am able to get the Max(Timestamp) value in my Subjob. Next step would be i have to store it a Context Variable.
&lt;BR /&gt;As suggested i have written a code in tjava_row as 
&lt;BR /&gt;Last_Row_Timestamp=input_row.Timestamp.
&lt;BR /&gt;When i print the context variable value am getting correct output. But, when i use that context variable in Main job where clause as 
&lt;BR /&gt;where Timestamp&amp;gt; "+context.Last_Run_Timestamp+" am getting the following error.
&lt;BR /&gt;The requirement would be get the max(Timestamp) value in the Subjob, store that in a Context Variable(Last_Run_Timestamp)
&lt;BR /&gt;Use that Context Variable in the Main Job(Where Clause) during the Next Run, to get the record greater than the previous run Date.
&lt;BR /&gt; 
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tMSSqlInput_3
&lt;BR /&gt;java.sql.SQLException: Incorrect syntax near '&amp;gt;'.
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:632)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:477)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1304)
&lt;BR /&gt; at dw_dev.copy_of_test_timestamp_child_0_1.Copy_of_Test_Timestamp_Child.tMSSqlInput_3Process(Copy_of_Test_Timestamp_Child.java:1393)
&lt;BR /&gt; at dw_dev.copy_of_test_timestamp_child_0_1.Copy_of_Test_Timestamp_Child.runJobInTOS(Copy_of_Test_Timestamp_Child.java:1777)
&lt;BR /&gt; at dw_dev.copy_of_test_timestamp_child_0_1.Copy_of_Test_Timestamp_Child.main(Copy_of_Test_Timestamp_Child.java:1639)
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job Copy_of_Test_Timestamp_Child ended at 07:26 06/01/2014.</description>
      <pubDate>Mon, 06 Jan 2014 12:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270583#M48446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-06T12:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270584#M48447</link>
      <description>so if I understand your need you have to pass value to a "parent job".&lt;BR /&gt;for that use bufferOutput component and in the Main job retrieve schema and value with copy child job schema.&lt;BR /&gt;hope it helps&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 06 Jan 2014 13:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270584#M48447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-06T13:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270585#M48448</link>
      <description>Hi,&lt;BR /&gt;I went through threads with tBufferoutput, am little confused.&lt;BR /&gt;Can u please provide a screen shot of how to implement this. That would be really helpful.&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 06 Jan 2014 13:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270585#M48448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-06T13:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270586#M48449</link>
      <description>here some explanation : 
&lt;BR /&gt;main job call child job that read the max value of something and return result to main job. 
&lt;BR /&gt;in my test the context param "MAX" default value = NULL . 
&lt;BR /&gt;Child job get the value from sql query and return this value via buffer output to main job. 
&lt;BR /&gt;Then Max Value of main job is now = to the value passed by child job ... 
&lt;BR /&gt; 
&lt;PRE&gt;Starting job main at 15:23 06/01/2014.&lt;BR /&gt;&lt;BR /&gt; connecting to socket on port 3609&lt;BR /&gt; connected&lt;BR /&gt;2013-12-16&lt;BR /&gt; disconnected&lt;BR /&gt;Job main ended at 15:23 06/01/2014. &lt;/PRE&gt; 
&lt;BR /&gt;hope it helps 
&lt;BR /&gt;regards 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150732i5C63FC88257686CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLq.png" alt="0683p000009MCLq.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC6i.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130325iA1B8F00B86A0E9F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC6i.png" alt="0683p000009MC6i.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270586#M48449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-06T14:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically updating the context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270587#M48450</link>
      <description>Hi,&lt;BR /&gt;I want to iterate a workflow where I want to select a particular column from a csv file depending upon value of context variable, say i. So at first iteration, i =1 so i want to select column named t1. At the end of first iteration, my i becomes 2 (using tjava component here). Now I want to select column named t2. But when I use tjavarow for getting the value of column from column in csv, it doesn't allow me to write context.col_name = input_row."t"+i. (ultimately I want input_row.t2).&amp;nbsp;How can I do this job in Talend?&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Himani</description>
      <pubDate>Thu, 31 Mar 2016 12:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamically-updating-the-context-variable/m-p/2270587#M48450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-31T12:10:10Z</dc:date>
    </item>
  </channel>
</rss>

