<?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: instruction while in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221991#M15768</link>
    <description>Hi 
&lt;BR /&gt;In tMap, you can use the column expression like this: Var.a&amp;lt;Var.b?myValue1:myValue2 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
    <pubDate>Wed, 13 Feb 2008 03:34:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-02-13T03:34:51Z</dc:date>
    <item>
      <title>instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221989#M15766</link>
      <description>hi guys,&lt;BR /&gt;i'm a newby and i'm a problem with the instruction &lt;B&gt;while&lt;/B&gt; in tMap in Talend (java)&lt;BR /&gt;i've setted the variables:&lt;BR /&gt;a ------&amp;gt;new Integer(row1.x)*1000&lt;BR /&gt;b ------&amp;gt;new Integer(row1.y)*1000&lt;BR /&gt;c ------&amp;gt;new Date(new Long(Var.a)).getDay()&lt;BR /&gt;d  -----&amp;gt; 0&lt;BR /&gt;then i've setted the column:&lt;BR /&gt;while (Var.a&amp;lt;Var.b)&lt;BR /&gt;{&lt;BR /&gt;Var.a=Var.a+86400000;&lt;BR /&gt;if  (new Boolean(Var.c&amp;lt;6 &amp;amp;&amp;amp; Var.c&amp;gt;0)) Var.d=Var.d+28800000;&lt;BR /&gt;}&lt;BR /&gt;where is the problem(s)?</description>
      <pubDate>Sat, 16 Nov 2024 14:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221989#M15766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221990#M15767</link>
      <description>i don't manage the instrution while, if, for, etc. there is a documentation where i can find the explanation of their use?... in java not in perl, thanks in advance.</description>
      <pubDate>Tue, 12 Feb 2008 09:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221990#M15767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-12T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221991#M15768</link>
      <description>Hi 
&lt;BR /&gt;In tMap, you can use the column expression like this: Var.a&amp;lt;Var.b?myValue1:myValue2 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 13 Feb 2008 03:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221991#M15768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-13T03:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221992#M15769</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi&lt;BR /&gt;In tMap, you can use the column expression like this: Var.a&amp;lt;Var.b?myValue1:myValue2&lt;BR /&gt;Best regards&lt;BR /&gt; shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;ok, in fact is the only expression that is right but if i want use it in a "while" or "for" expression for example: 
&lt;BR /&gt;while (Var.a&amp;lt;Var.b) 
&lt;BR /&gt; { 
&lt;BR /&gt; Var.a=Var.a+86400000; 
&lt;BR /&gt; if (Var.c!=0) Var.d=Var.d+28800000; 
&lt;BR /&gt; } 
&lt;BR /&gt;i must use "if" because the expression with ? it give error (misplaced construct) and also with "if" it give the same error... where i'm wrong? 
&lt;BR /&gt;p.s.: all Var are int</description>
      <pubDate>Wed, 13 Feb 2008 14:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221992#M15769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-13T14:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221993#M15770</link>
      <description>so, none has ever used the "while" or "for" expression (java) in Talend? what is the correct syntax?</description>
      <pubDate>Mon, 18 Feb 2008 08:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221993#M15770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-18T08:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221994#M15771</link>
      <description>Use a routine and code your while into, then call this routine from tMap.</description>
      <pubDate>Mon, 18 Feb 2008 12:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221994#M15771</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-02-18T12:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221995#M15772</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Use a routine and code your while into, then call this routine from tMap.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;a routine? &lt;BR /&gt;please where can i find information about how to use a routine?</description>
      <pubDate>Mon, 18 Feb 2008 13:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221995#M15772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-18T13:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221996#M15773</link>
      <description>You can download the documentation, and find near page 12, in topic Repository &amp;gt; Codes &amp;gt; Routines a short description of this functionality. 
&lt;BR /&gt;You will be able to create new (static) methods in a class and call it from tMap. Take example on System routines if you wish to use in tRowGenerator or other components which need to read parameters from routines. 
&lt;BR /&gt;I created a feature issue 3114 to document more precisely this subject. 
&lt;BR /&gt;You can also see this post 
&lt;A href="http://talendforge.org/forum/viewtopic.php?id=2159" rel="nofollow noopener noreferrer"&gt;http://talendforge.org/forum/viewtopic.php?id=2159&lt;/A&gt;.</description>
      <pubDate>Mon, 18 Feb 2008 15:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221996#M15773</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-02-18T15:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221997#M15774</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Use a routine and code your while into, then call this routine from tMap.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;thanks, it works</description>
      <pubDate>Wed, 20 Feb 2008 10:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221997#M15774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-20T10:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221998#M15775</link>
      <description>&lt;P&gt;are there someone who find a solution to use while instruction in tmap talend ????&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 20:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221998#M15775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T20:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221999#M15776</link>
      <description>&lt;P&gt;Hello Rabeb,&lt;/P&gt; 
&lt;P&gt;Here are online documentations about &lt;A title="TalendHelpCenter:tMap scenarios" href="https://help.talend.com/reader/eQZTskQyWGsPFEh60rnfhA/NPc4E8oHqouPZSefVy_YOQ" target="_self" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tMap scenarios &lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;and &lt;A title="https://community.talend.com/t5/Design-and-Development/tMap-expression-syntax/ta-p/21575" href="https://community.qlik.com/s/article/ka03p0000006EYeAAM" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/tMap-expression-syntax/ta-p/21575&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;What's your job requirement about while in tMap? Does the If / else statement work for you?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 04:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2221999#M15776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T04:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: instruction while in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2222000#M15777</link>
      <description>&lt;P&gt;thanks for your reply ! yes if/else&amp;nbsp; works well i need the structure of while instruction how can i use it with tMap ?? and thank's&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 09:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/instruction-while-in-Talend/m-p/2222000#M15777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T09:06:22Z</dc:date>
    </item>
  </channel>
</rss>

