<?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: sequence generate in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300651#M72857</link>
    <description>&lt;P&gt;in this senario,store your first run max&amp;nbsp;sequnce&amp;nbsp;value in file or Database,before the main you from the input file/database load seq num into context ,and the in tmap,use sequnce funation givet the current value is context value.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Mar 2018 05:46:30 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2018-03-05T05:46:30Z</dc:date>
    <item>
      <title>sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300649#M72855</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have a sequence for one of the column and it should start the sequence from where the last run stopped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example if 10 was generated by sequence for first run , for second run it should start with 11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the first half , to generate the sequence using numeric.sequnce("s1",1,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you suggest how can i implement the second part , i went through the forum but couldn't find the solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;lmit&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300649#M72855</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2024-11-16T08:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300650#M72856</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;lmit,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please do following steps.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) Create context parameter&amp;nbsp;&lt;SPAN&gt;sequence_max_value.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2) Get Max value of sequence column.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; example : SELECT max(sequence_column) AS sequence_max_value FROM table_name;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; In tJavaRow check if query returns null then assign&amp;nbsp;context.sequence_max_value=1 other &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wise&amp;nbsp;context.sequence_max_value=input_row.sequence_max_value(This is max value from table);&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;3) In the tmap use numeric.sequnce("s1",context.sequence_max_value,1)&amp;nbsp;expression.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note : If you want you can also use ISNULL function in query and assign value 1.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 05:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300650#M72856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T05:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300651#M72857</link>
      <description>&lt;P&gt;in this senario,store your first run max&amp;nbsp;sequnce&amp;nbsp;value in file or Database,before the main you from the input file/database load seq num into context ,and the in tmap,use sequnce funation givet the current value is context value.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 05:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300651#M72857</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T05:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300652#M72858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Manohar&amp;nbsp; &amp;amp; Ravi for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Am not using DB,Its flat file --- so how can i get the max value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@ manohar&amp;nbsp; can i&amp;nbsp; know how can i store the max value.can you please provide some screenshoots that would be great help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lmit&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 05:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300652#M72858</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T05:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300653#M72859</link>
      <description>&lt;P&gt;you were generating sequence in Var of tmap right,you just pass to one extra optput section and&amp;nbsp;use the tAggregaterow componet to get the Max Values of your sequence.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 05:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300653#M72859</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T05:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300654#M72860</link>
      <description>&lt;P&gt;hi Manohar,&lt;/P&gt;&lt;P&gt;I got the value in&amp;nbsp;&lt;SPAN&gt;tAggregaterow&amp;nbsp; but i got stucked after that how should i produce&amp;nbsp;&lt;/SPAN&gt;further&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thansk,&lt;/P&gt;&lt;P&gt;limt&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300654#M72860</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T06:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300655#M72861</link>
      <description>&lt;P&gt;affter&amp;nbsp;&lt;SPAN&gt;tAggregaterow ,use tfileoutputdelimtter and load that value into file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300655#M72861</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T06:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300656#M72862</link>
      <description>&lt;P&gt;Hi manohar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I stored the value in file.when i want to store the value in the context, should i store in local or global variable , if so then how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;lmit&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300656#M72862</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T06:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300657#M72863</link>
      <description>&lt;P&gt;read the same file and loaded into context using tContextload in the main flow of same job,where you are generating the sequence in tmap&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300657#M72863</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T06:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300658#M72864</link>
      <description>&lt;P&gt;Thanks Manohar , will try this option.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks once again &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;lmit&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300658#M72864</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T06:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300659#M72865</link>
      <description>&lt;P&gt;If this help please&amp;nbsp;&lt;SPAN&gt;give kudos when a reply is helpful and click Accept the solution when you think you're good with it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300659#M72865</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T06:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: sequence generate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300660#M72866</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/s/profile/0053p000007LLyDAAW"&gt;@lmit&lt;/A&gt;&amp;nbsp;.Please accpect solution.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 04:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sequence-generate/m-p/2300660#M72866</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-22T04:00:03Z</dc:date>
    </item>
  </channel>
</rss>

