<?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: context variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202977#M4482</link>
    <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi, I have another problem in this example. When i divide with my variable i want to get an output-field with the date of the last change...i tried some things with TalendDate.getDate() but it doesnt work. Can you do this also with a context-variable?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You should open another thread, and I think you should rephrase teh question, give detail of what your job would have as input (e.g., the initial value of your context variable is "input" - information your job starts of knowing) - and what wuold be output - the result, information your job creates. I can't tell what you want to happen.
&lt;BR /&gt;In general, Talend lets you do anything java can do, so almost for sure teh answer is "you can do that" but for anythngi that's not a typical ETL operation, it can entail learning a bunch of java.
&lt;BR /&gt;A thing to be aware of about this forum is, if a question has any answers, it doesn't stand out as an unanswered question, and it gets less views. If someone automatically marked questions as resolved or something that would be a patch. So don't worry about creating lots of threads</description>
    <pubDate>Sat, 09 Nov 2013 12:57:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-09T12:57:27Z</dc:date>
    <item>
      <title>context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202973#M4478</link>
      <description>Hello TOS-fans and experts,
&lt;BR /&gt;as you can see in the subject my problem is that i want to create a context variable.
&lt;BR /&gt;I have the tMap component, where i made an if-else-claus (with "...?..:..."). This if-clause divides a number through 1.5. This works fine.
&lt;BR /&gt;Now i want to put the number 1.5 into a variable. I tried to use "create context" on the left and other things but nothing works.
&lt;BR /&gt;Does anybody have an idea?
&lt;BR /&gt;Thank your very much!!!</description>
      <pubDate>Wed, 06 Nov 2013 15:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202973#M4478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-06T15:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202974#M4479</link>
      <description>Where you have a "Run" tab, do you also have a "Context" tab? If not, look under the "Window"/ "Show View" menu, and select "Conexts"
&lt;BR /&gt;In the context tab, there are three subtabs, click on the left-most one ("Variables"), and there button with a "+" sign. Click it and will add a variable. On the "Variables" tab, you can't set the initial value. Just type in the name of the new context variable. You have to chose the type - Double or BigDecimal, probably.
&lt;BR /&gt;To give the context varaible an initia lvalue, in the right-most tab, "Values as a Table", you can fill in the value.
&lt;BR /&gt;You don't have to rely on the initial value. In your job, if you want, in a tJavaRow, tJavaFlex probably (probably not tJava) you can assign the variable - if your variable is named "divideMe", you'd context.divideMe = 1.5.</description>
      <pubDate>Thu, 07 Nov 2013 00:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202974#M4479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-07T00:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202975#M4480</link>
      <description>Hell LevinMagruder.pf,&lt;BR /&gt;thank you a lot!!!It totally worked!</description>
      <pubDate>Thu, 07 Nov 2013 14:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202975#M4480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-07T14:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202976#M4481</link>
      <description>Hi, I have another problem in this example. When i divide with my variable i want to get an output-field with the date of the last change...i tried some things with TalendDate.getDate() but it doesnt work. Can you do this also with a context-variable?
&lt;BR /&gt;
&lt;BR /&gt;Thanks again!i appreciate your help very much!!</description>
      <pubDate>Thu, 07 Nov 2013 14:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202976#M4481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-07T14:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202977#M4482</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi, I have another problem in this example. When i divide with my variable i want to get an output-field with the date of the last change...i tried some things with TalendDate.getDate() but it doesnt work. Can you do this also with a context-variable?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You should open another thread, and I think you should rephrase teh question, give detail of what your job would have as input (e.g., the initial value of your context variable is "input" - information your job starts of knowing) - and what wuold be output - the result, information your job creates. I can't tell what you want to happen.
&lt;BR /&gt;In general, Talend lets you do anything java can do, so almost for sure teh answer is "you can do that" but for anythngi that's not a typical ETL operation, it can entail learning a bunch of java.
&lt;BR /&gt;A thing to be aware of about this forum is, if a question has any answers, it doesn't stand out as an unanswered question, and it gets less views. If someone automatically marked questions as resolved or something that would be a patch. So don't worry about creating lots of threads</description>
      <pubDate>Sat, 09 Nov 2013 12:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/context-variables/m-p/2202977#M4482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-09T12:57:27Z</dc:date>
    </item>
  </channel>
</rss>

