<?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: how seq_long create in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211108#M9268</link>
    <description>&lt;P&gt;Tkank you&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP7CAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I find a solution that i change the name of string in sequence at new sequence .&lt;/P&gt; 
&lt;P&gt;(out2.CUAccountID%2)==0 ?&amp;nbsp;&lt;BR /&gt;((""+(1000 +NUMERIC_S_LONG.LongSequence("&lt;STRONG&gt;&lt;FONT color="#000080"&gt;s2&lt;/FONT&gt;&lt;/STRONG&gt;",001L, 1))).substring(1,4) ) +"-"+&lt;/P&gt; 
&lt;P&gt;((""+(100000000 +NUMERIC_S_LONG.LongSequence("&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;s3&lt;/STRONG&gt;&lt;/FONT&gt;", 00000001L, 1) ) ).substring(1,9)):&lt;BR /&gt;((""+(1000 +NUMERIC_S_LONG.LongSequence("&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;s4&lt;/STRONG&gt;&lt;/FONT&gt;",001L, 1))).substring(1,4) ) +"-"+&lt;BR /&gt;((""+(100000000 +NUMERIC_S_LONG.LongSequence("&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;s5&lt;/STRONG&gt;&lt;/FONT&gt;", 00000001L, 1))).substring(1,9))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;/*NUMERIC_S_LONG.LongSequence("&lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;s1&lt;/STRONG&gt;&lt;/FONT&gt;",001L, 1)) :CUAccountID*/&lt;/P&gt; 
&lt;P&gt;result&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1&amp;nbsp; &amp;nbsp; 001-00000001&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; 001-00000001&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; 002-00000002&lt;BR /&gt;4&amp;nbsp; &amp;nbsp;002-00000002&lt;/P&gt; 
&lt;P&gt;Best regards&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 08:36:44 GMT</pubDate>
    <dc:creator>hechmi</dc:creator>
    <dc:date>2019-03-06T08:36:44Z</dc:date>
    <item>
      <title>how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211100#M9260</link>
      <description>&lt;P&gt;HI ALL;&lt;/P&gt;
&lt;P&gt;i want to create column with au to incrrement depend from ID key&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ACCOUNTID and ACCOUNTID+1 have same ACCOUNTNUmber&lt;/P&gt;
&lt;P&gt;exemple :&lt;/P&gt;
&lt;P&gt;ACCOUNTID ACCOUNTNUmber&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &lt;FONT color="#0000FF"&gt;&amp;nbsp;002-00000001&lt;/FONT&gt;&lt;BR /&gt;2&amp;nbsp; &amp;nbsp;&lt;FONT color="#00FF00"&gt;002-00000002&lt;/FONT&gt;&lt;BR /&gt;3&amp;nbsp; &amp;nbsp;002-00000003&lt;BR /&gt;i want to have this :&lt;/P&gt;
&lt;P&gt;ACCOUNTID ACCOUNTNUmber&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &lt;FONT color="#0000FF"&gt;&amp;nbsp;002-00000001&lt;/FONT&gt;&lt;BR /&gt;2&amp;nbsp;&lt;FONT color="#0000FF"&gt; &amp;nbsp;002-00000001&lt;/FONT&gt;&lt;BR /&gt;3&amp;nbsp; &amp;nbsp;&lt;FONT color="#00FF00"&gt;002-00000002&lt;/FONT&gt;&lt;BR /&gt;4&amp;nbsp; &amp;nbsp;&lt;FONT color="#00FF00"&gt;002-00000002&lt;/FONT&gt;&lt;BR /&gt;5&amp;nbsp; &amp;nbsp;002-00000003&lt;/P&gt;
&lt;P&gt;6&amp;nbsp; &amp;nbsp;002-00000003&lt;/P&gt;
&lt;P&gt;i put screen frothe job and the table i need .&lt;/P&gt;
&lt;P&gt;Thank you .&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2019 16:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211100#M9260</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2019-03-02T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211101#M9261</link>
      <description>&lt;P&gt;Your requirement not very clear. why do you want to duplicate the accountnumber in output?&lt;/P&gt;
&lt;P&gt;Anyways , if you would like to duplicate , One of the solution is as below&lt;/P&gt;
&lt;P&gt;(Assuming your input is already sorted by AccountId)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;duplicate record using tunite ( use same input two times to unite) -- tsortrow ( sort on AccountId asc)&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &lt;FONT color="#0000FF"&gt;&amp;nbsp;002-00000001&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &lt;FONT color="#0000FF"&gt;&amp;nbsp;002-00000001&lt;/FONT&gt;&lt;BR /&gt;2&amp;nbsp; &amp;nbsp;&lt;FONT color="#00FF00"&gt;002-00000002&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp;&lt;FONT color="#00FF00"&gt;002-00000002&lt;/FONT&gt;&lt;BR /&gt;3&amp;nbsp; &amp;nbsp;002-00000003&lt;/P&gt;
&lt;P&gt;3&amp;nbsp; &amp;nbsp;002-00000003&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, add additional column ( seq-id) using tMap/tJavaRow&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; 1&lt;FONT color="#0000FF"&gt; 002-00000001&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; 2&lt;FONT color="#0000FF"&gt; 002-00000001&lt;/FONT&gt;&lt;BR /&gt;2&amp;nbsp; 3 &lt;FONT color="#00FF00"&gt;002-00000002&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; 4 &lt;FONT color="#00FF00"&gt;002-00000002&lt;/FONT&gt;&lt;BR /&gt;3&amp;nbsp; 5 002-00000003&lt;/P&gt;
&lt;P&gt;3&amp;nbsp; 6 002-00000003&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Drop 1st Column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2019 19:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211101#M9261</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-02T19:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211102#M9262</link>
      <description>Thank you ;
&lt;BR /&gt;i duplicate AccountNumber cause it s type string in output .
&lt;BR /&gt;*AccountId type Long
&lt;BR /&gt;itry with tunite but i can t .can you help me hw to use tunite and tjava row .
&lt;BR /&gt;Regards
&lt;BR /&gt;Hechmi</description>
      <pubDate>Sat, 02 Mar 2019 22:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211102#M9262</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2019-03-02T22:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211103#M9263</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i duplicate AccountNumber cause it s type string in output and i want to have at this format "001-00000001".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*AccountId type Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i try with tunite but i can't .can you help me how to use tunite and tjava row .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hechmi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2019 22:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211103#M9263</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2019-03-02T22:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211104#M9264</link>
      <description>&lt;P&gt;Hello Another simple way to do the same&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Connect your input to tMap as Main. Create a Lookup having two rows and do cross-Join. Refer below screen shot.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend.JPG" style="width: 605px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2cv.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146771i5AA8AFAE8CD4AF00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2cv.jpg" alt="0683p000009M2cv.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend2.JPG" style="width: 612px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2tp.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136747i9563DBBD7C47F5F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2tp.jpg" alt="0683p000009M2tp.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Result&lt;/P&gt; 
&lt;P&gt;[statistics] connecting to socket on port 3449&lt;BR /&gt;[statistics] connected&lt;BR /&gt;1|002-00000001&lt;BR /&gt;2|002-00000001&lt;BR /&gt;3|002-00000002&lt;BR /&gt;4|002-00000002&lt;BR /&gt;5|002-00000003&lt;BR /&gt;6|002-00000003&lt;BR /&gt;[statistics] disconnected&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2019 13:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211104#M9264</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-03T13:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211105#M9265</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your answer&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP7CAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;I try with your idea but in have different result you can see screen attach .&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;can you give me where the problem ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lusi"&gt;job.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lui5"&gt;result.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Luss"&gt;tmap.JPG&lt;/A&gt;</description>
      <pubDate>Mon, 04 Mar 2019 10:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211105#M9265</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2019-03-04T10:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211106#M9266</link>
      <description>&lt;P&gt;In tMap , do not join id column to dummy. If you will join , result will not be duplicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You do not need two parallel flow at the starts and tJoin. One flow itself would be enough as shown in previous screenshot.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 10:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211106#M9266</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-04T10:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211107#M9267</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP7CAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I try with this job but i don't have result&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;you can see it ,what is the problem&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#0000FF"&gt;|account_number|AccountID|name&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#0000FF"&gt;001-00000002 |1 |teste|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;|003-00000004 |2&lt;/FONT&gt; |teste|&amp;nbsp; account number different ?&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;|005-00000006 |3 |teste|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;|007-00000008 |4&lt;/FONT&gt; |teste|&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;best regards&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuJt"&gt;tmap2.JPG&lt;/A&gt;</description>
      <pubDate>Mon, 04 Mar 2019 10:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211107#M9267</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2019-03-04T10:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: how seq_long create</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211108#M9268</link>
      <description>&lt;P&gt;Tkank you&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP7CAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I find a solution that i change the name of string in sequence at new sequence .&lt;/P&gt; 
&lt;P&gt;(out2.CUAccountID%2)==0 ?&amp;nbsp;&lt;BR /&gt;((""+(1000 +NUMERIC_S_LONG.LongSequence("&lt;STRONG&gt;&lt;FONT color="#000080"&gt;s2&lt;/FONT&gt;&lt;/STRONG&gt;",001L, 1))).substring(1,4) ) +"-"+&lt;/P&gt; 
&lt;P&gt;((""+(100000000 +NUMERIC_S_LONG.LongSequence("&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;s3&lt;/STRONG&gt;&lt;/FONT&gt;", 00000001L, 1) ) ).substring(1,9)):&lt;BR /&gt;((""+(1000 +NUMERIC_S_LONG.LongSequence("&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;s4&lt;/STRONG&gt;&lt;/FONT&gt;",001L, 1))).substring(1,4) ) +"-"+&lt;BR /&gt;((""+(100000000 +NUMERIC_S_LONG.LongSequence("&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;s5&lt;/STRONG&gt;&lt;/FONT&gt;", 00000001L, 1))).substring(1,9))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;/*NUMERIC_S_LONG.LongSequence("&lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;s1&lt;/STRONG&gt;&lt;/FONT&gt;",001L, 1)) :CUAccountID*/&lt;/P&gt; 
&lt;P&gt;result&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1&amp;nbsp; &amp;nbsp; 001-00000001&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; 001-00000001&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; 002-00000002&lt;BR /&gt;4&amp;nbsp; &amp;nbsp;002-00000002&lt;/P&gt; 
&lt;P&gt;Best regards&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 08:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-seq-long-create/m-p/2211108#M9268</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2019-03-06T08:36:44Z</dc:date>
    </item>
  </channel>
</rss>

