<?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: Numeric.sequence per Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-per-Job/m-p/2312751#M83668</link>
    <description>Hi,&lt;BR /&gt;You can use the process id in the sequence name :&lt;BR /&gt; &lt;PRE&gt;id = Numeric.sequence(pid, 1, 1);&lt;/PRE&gt;&lt;BR /&gt;It's explained here : &lt;A href="http://www.talendforge.org/bugs/view.php?id=5665" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=5665&lt;/A&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Karine</description>
    <pubDate>Tue, 23 Jun 2009 09:14:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-06-23T09:14:12Z</dc:date>
    <item>
      <title>Numeric.sequence per Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-per-Job/m-p/2312750#M83667</link>
      <description>Hi, 
&lt;BR /&gt;my JobA calls JobB via a tRunJob. 
&lt;BR /&gt;Within JobB, I've got a tJava where I call Numeric.sequence. 
&lt;BR /&gt;Unfortunately Numeric.sequence starts only the first time I call JobB with 1. But I want it to start from 1 everytime I call JobB. 
&lt;BR /&gt;From JobA I call tRunJob (JobB) via a OnComponentOK (because it's a tJava which calls tRunJob) - is this ok? 
&lt;BR /&gt;Within JobB I use: 
&lt;BR /&gt; 
&lt;PRE&gt;id = Numeric.sequence ("s1", 1, 1);&lt;/PRE&gt; 
&lt;BR /&gt;(but it's in a routine and get's called from the tJava) 
&lt;BR /&gt;Is it somehow possible to reset id after JobB finished? 
&lt;BR /&gt;I found this: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vClYtCAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Numeric-sequence-reset/td-p/79915&lt;/A&gt; but I have a subJob, do I have to do it like this, too? 
&lt;BR /&gt;Thank you in advanced. 
&lt;BR /&gt;Bye, Chris</description>
      <pubDate>Sat, 16 Nov 2024 13:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-per-Job/m-p/2312750#M83667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric.sequence per Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-per-Job/m-p/2312751#M83668</link>
      <description>Hi,&lt;BR /&gt;You can use the process id in the sequence name :&lt;BR /&gt; &lt;PRE&gt;id = Numeric.sequence(pid, 1, 1);&lt;/PRE&gt;&lt;BR /&gt;It's explained here : &lt;A href="http://www.talendforge.org/bugs/view.php?id=5665" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=5665&lt;/A&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Karine</description>
      <pubDate>Tue, 23 Jun 2009 09:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-per-Job/m-p/2312751#M83668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-23T09:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric.sequence per Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-per-Job/m-p/2312752#M83669</link>
      <description>Hi Karine, 
&lt;BR /&gt;thank you for your reply. 
&lt;BR /&gt;Got it working now 
&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;</description>
      <pubDate>Tue, 23 Jun 2009 09:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-per-Job/m-p/2312752#M83669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-23T09:17:35Z</dc:date>
    </item>
  </channel>
</rss>

